mmc_spi: put signals to low power off fix
commit1685a03e98b7e9b83e0aa692c1cc470b3aa37597
authorJan Nikitenko <jan.nikitenko@gmail.com>
Wed, 23 Jul 2008 23:27:07 +0000 (24 01:27 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 23 Jul 2008 23:27:07 +0000 (24 01:27 +0200)
tree3cafe80a6f3fe37058a774646e2b6c0b78b32a3a
parent20b7997e8abdf338dcc27fb4f1333c4973a7f113
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