]> git.baikalelectronics.ru Git - kernel.git/commit
mmc_spi: put signals to low power off fix
authorJan Nikitenko <jan.nikitenko@gmail.com>
Wed, 23 Jul 2008 23:27:07 +0000 (01:27 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 23 Jul 2008 23:27:07 +0000 (01:27 +0200)
commit11422d88a58eeb52d49b55a2d8cf78440370972c
tree3cafe80a6f3fe37058a774646e2b6c0b78b32a3a
parentefb499b8ad5a498e9eac2b3e6134f70108214370
mmc_spi: put signals to low power off fix

The original intention was to write a zero byte to mmc to force spi
signals to low when doing power off. Somehow the spi_w8r8 call got there
so a read followed the write of single zero byte. This patch changes
that to simple write of zero byte without the following read.
This way the power off is more reliable and completely sufficient.

Signed-off-by: Jan Nikitenko <jan.nikitenko@gmail.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/mmc_spi.c