]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: rtsx: fix card poweroff bug
authorMicky Ching <micky_ching@realsil.com.cn>
Mon, 17 Feb 2014 08:45:46 +0000 (16:45 +0800)
committerChris Ball <chris@printf.net>
Sat, 22 Feb 2014 18:33:38 +0000 (13:33 -0500)
commit640e09bc45f5d03622da5230d131c0bfd0d2da3f
treeb5f5d890f57eacb170bfef987978a8c56a6b7d85
parent9107ebbf9652c033eb5dd10a6ea34a132db3cde1
mmc: rtsx: fix card poweroff bug

If the host driver removed while card in the slot, the host will not
power off card power correctly. This bug is produced because host
eject flag set before the last mmc_set_ios callback, we should set the
eject flag after power off.

Signed-off-by: Micky Ching <micky_ching@realsil.com.cn>
Signed-off-by: Chris Ball <chris@printf.net>
drivers/mmc/host/rtsx_pci_sdmmc.c