public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] misc: rtsx: do not setting OC_POWER_DOWN reg in rtsx_pci_init_ocp()
@ 2020-08-24  3:00 ricky_wu
  2020-09-13  8:40 ` Chris Clayton
  0 siblings, 1 reply; 8+ messages in thread
From: ricky_wu @ 2020-08-24  3:00 UTC (permalink / raw)
  To: arnd, gregkh, bhelgaas, ricky_wu, vaibhavgupta40, rui_feng, kdlnx,
	linux-kernel

From: Ricky Wu <ricky_wu@realtek.com>

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>
---
 drivers/misc/cardreader/rtsx_pcr.c | 4 ----
 1 file changed, 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);
 		}
 	}
 }
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-10-31 10:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-24  3:00 [PATCH] misc: rtsx: do not setting OC_POWER_DOWN reg in rtsx_pci_init_ocp() ricky_wu
2020-09-13  8:40 ` Chris Clayton
2020-09-13 16:49   ` Bjorn Helgaas
2020-09-14  7:55     ` Chris Clayton
2020-09-14 15:58   ` Greg KH
2020-09-18 14:35     ` Chris Clayton
2020-10-15 18:20       ` Chris Clayton
2020-10-31 10:34         ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox