diff options
author | Ricky Wu <ricky_wu@realtek.com> | 2020-08-24 11:00:06 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-08-28 12:37:43 +0200 |
commit | 551b6729578a8981c46af964c10bf7d5d9ddca83 (patch) | |
tree | 73c4a8ccad679721cb1e97ed863407598e6efbc9 /drivers/misc/cardreader | |
parent | 31b4b3bff2c217c61bb99db76f24c4886e74a1a5 (diff) | |
download | linux-stable-551b6729578a8981c46af964c10bf7d5d9ddca83.tar.gz linux-stable-551b6729578a8981c46af964c10bf7d5d9ddca83.tar.bz2 linux-stable-551b6729578a8981c46af964c10bf7d5d9ddca83.zip |
misc: rtsx: do not setting OC_POWER_DOWN reg in rtsx_pci_init_ocp()
this power saving action in rtsx_pci_init_ocp() cause INTEL-NUC6 platform
missing card reader
Signed-off-by: Ricky Wu <ricky_wu@realtek.com>
Link: https://lore.kernel.org/r/20200824030006.30033-1-ricky_wu@realtek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/cardreader')
-rw-r--r-- | drivers/misc/cardreader/rtsx_pcr.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/misc/cardreader/rtsx_pcr.c b/drivers/misc/cardreader/rtsx_pcr.c index 37ccc67f4914..3a4a7b0cc098 100644 --- a/drivers/misc/cardreader/rtsx_pcr.c +++ b/drivers/misc/cardreader/rtsx_pcr.c @@ -1155,10 +1155,6 @@ void rtsx_pci_init_ocp(struct rtsx_pcr *pcr) rtsx_pci_write_register(pcr, REG_OCPGLITCH, SD_OCP_GLITCH_MASK, pcr->hw_param.ocp_glitch); rtsx_pci_enable_ocp(pcr); - } else { - /* OC power down */ - rtsx_pci_write_register(pcr, FPDCTL, OC_POWER_DOWN, - OC_POWER_DOWN); } } } |