diff options
author | YueHaibing <yuehaibing@huawei.com> | 2020-03-26 06:26:18 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-24 08:58:49 +0300 |
commit | a3b12f19305aac4f0751a85cc35d902e9b11ef73 (patch) | |
tree | ddb846c8434fefd2c80c68cdd04c8ed8deda1a04 /drivers/mfd | |
parent | ce216cff2d58b1fce51bb47b9a66666b8c21ed47 (diff) | |
download | linux-a3b12f19305aac4f0751a85cc35d902e9b11ef73.tar.xz |
misc: rtsx: set correct pcr_ops for rts522A
[ Upstream commit 10cea23b6aae15e8324f4101d785687f2c514fe5 ]
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@huawei.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200326032618.20472-1-yuehaibing@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/rts5227.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/rts5227.c b/drivers/mfd/rts5227.c index ff296a4bf3d2..dc6a9432a4b6 100644 --- a/drivers/mfd/rts5227.c +++ b/drivers/mfd/rts5227.c @@ -369,6 +369,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->reg_pm_ctrl3 = RTS522A_PM_CTRL3; } |