freebsd-nq/sys/dev/sdhci
Ian Lepore 4ddc017276 When changing the sd bus clock divisor, clear just the bus clock enable bit
before changing the divisor bits in the register.  We were writing a zero
to the register, which clears the enable, but also cleared the divisor bits
at the same time.  That's a violation of the sdhci spec, which says the
divisor can only be changed when the clock is disabled.  This has worked
okay on most hardware for years, but the TI OMAP controller would misbehave
after changing the divisor improperly.

Submitted by:	Svatopluk Kraus <onwahe@gmail.com>
2014-04-04 01:10:02 +00:00
..
sdhci_fdt.c Follow r261352 by updating all drivers which are children of simplebus 2014-02-02 19:17:28 +00:00
sdhci_if.m Add hooks for plugging platform-provided transfer backend. 2013-02-28 19:43:14 +00:00
sdhci_pci.c Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays 2013-01-30 18:01:20 +00:00
sdhci.c When changing the sd bus clock divisor, clear just the bus clock enable bit 2014-04-04 01:10:02 +00:00
sdhci.h Add timeout logic to sdhci, separate from the timeouts done by the hardware. 2014-02-15 20:45:53 +00:00