[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20200326032618.20472-1-yuehaibing@huawei.com>
Date: Thu, 26 Mar 2020 11:26:18 +0800
From: YueHaibing <yuehaibing@...wei.com>
To: <arnd@...db.de>, <gregkh@...uxfoundation.org>,
<ricky_wu@...ltek.com>, <tglx@...utronix.de>,
<ulf.hansson@...aro.org>, <yuehaibing@...wei.com>,
<lee.jones@...aro.org>, <micky_ching@...lsil.com.cn>
CC: <linux-kernel@...r.kernel.org>
Subject: [PATCH -next] misc: rtsx: set correct pcr_ops for rts522A
rts522a should use rts522a_pcr_ops, which is
diffrent with rts5227 in phy/hw init setting.
Fixes: ce6a5acc9387 ("mfd: rtsx: Add support for rts522A")
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
drivers/misc/cardreader/rts5227.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/misc/cardreader/rts5227.c b/drivers/misc/cardreader/rts5227.c
index 423fecc19fc4..3a9467aaa435 100644
--- a/drivers/misc/cardreader/rts5227.c
+++ b/drivers/misc/cardreader/rts5227.c
@@ -394,6 +394,7 @@ static const struct pcr_ops rts522a_pcr_ops = {
void rts522a_init_params(struct rtsx_pcr *pcr)
{
rts5227_init_params(pcr);
+ pcr->ops = &rts522a_pcr_ops;
pcr->tx_initial_phase = SET_CLOCK_PHASE(20, 20, 11);
pcr->reg_pm_ctrl3 = RTS522A_PM_CTRL3;
--
2.17.1
Powered by blists - more mailing lists