summaryrefslogtreecommitdiffstats
path: root/drivers/misc/cardreader/rts5227.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/cardreader/rts5227.c')
-rw-r--r--drivers/misc/cardreader/rts5227.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/cardreader/rts5227.c b/drivers/misc/cardreader/rts5227.c
index d676cf63a966..3dae5e3a1697 100644
--- a/drivers/misc/cardreader/rts5227.c
+++ b/drivers/misc/cardreader/rts5227.c
@@ -195,7 +195,7 @@ static int rts5227_extra_init_hw(struct rtsx_pcr *pcr)
}
}
- if (option->force_clkreq_0)
+ if (option->force_clkreq_0 && pcr->aspm_mode == ASPM_MODE_CFG)
rtsx_pci_add_cmd(pcr, WRITE_REG_CMD, PETXCFG,
FORCE_CLKREQ_DELINK_MASK, FORCE_CLKREQ_LOW);
else