]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/mmc/host/rtsx_pci_sdmmc.c
mmc: rtsx_pci_sdmmc: Don't execute power up sequence repeatedly
authorWei WANG <wei_wang@realsil.com.cn>
Fri, 8 Mar 2013 07:05:57 +0000 (15:05 +0800)
committerChris Ball <cjb@laptop.org>
Fri, 22 Mar 2013 16:35:42 +0000 (12:35 -0400)
commitd88691be7b37c9bba6c5dafbbaff569dd83475da
tree9789b9f3f1e1f04d4bb79207932a8688ea440d15
parente19499ae10903807acbaa07a28d4b56d508ac339
mmc: rtsx_pci_sdmmc: Don't execute power up sequence repeatedly

For some Realtek card readers, the power up sequence can only be executed
when power has been turned off fully.

So the rtsx host should not start power up sequence again when set_ios
been called if the power has been turned on.

Signed-off-by: Wei WANG <wei_wang@realsil.com.cn>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/rtsx_pci_sdmmc.c