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)
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

Simple merge