summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicky Wu <ricky_wu@realtek.com>2020-08-24 11:00:06 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-01 12:47:10 +0100
commit0aa1346563336cd9123544b53a7fecf4fe7110b1 (patch)
tree39710ba135dbf28cd2b09fbd090755fe3812e341
parent753456ece6b47718e2cbde595d3f43b82ef1ebf6 (diff)
downloadlinux-stable-0aa1346563336cd9123544b53a7fecf4fe7110b1.tar.gz
linux-stable-0aa1346563336cd9123544b53a7fecf4fe7110b1.tar.bz2
linux-stable-0aa1346563336cd9123544b53a7fecf4fe7110b1.zip
misc: rtsx: do not setting OC_POWER_DOWN reg in rtsx_pci_init_ocp()
commit 551b6729578a8981c46af964c10bf7d5d9ddca83 upstream. 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 Cc: Chris Clayton <chris2553@googlemail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/misc/cardreader/rtsx_pcr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/misc/cardreader/rtsx_pcr.c b/drivers/misc/cardreader/rtsx_pcr.c
index f2b2805942f5..c089eae71ccc 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);
}
}
}