projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31b4b3b
)
misc: rtsx: do not setting OC_POWER_DOWN reg in rtsx_pci_init_ocp()
author
Ricky Wu
<ricky_wu@realtek.com>
Mon, 24 Aug 2020 03:00:06 +0000
(11:00 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 28 Aug 2020 10:37:43 +0000
(12:37 +0200)
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>
drivers/misc/cardreader/rtsx_pcr.c
patch
|
blob
|
history
diff --git
a/drivers/misc/cardreader/rtsx_pcr.c
b/drivers/misc/cardreader/rtsx_pcr.c
index 37ccc67f4914bf3999253b599a0424c0411b146a..3a4a7b0cc098112e1f15d4fc3d0285ae9de246e0 100644
(file)
--- 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);
}
}
}