mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 16:37:50 +00:00
misc: rtsx: set correct pcr_ops for rts522A
[ Upstream commit10cea23b6a
] rts522a should use rts522a_pcr_ops, which is diffrent with rts5227 in phy/hw init setting. Fixes:ce6a5acc93
("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>
This commit is contained in:
parent
4eb9d5bc70
commit
809d05196e
1 changed files with 1 additions and 0 deletions
|
@ -369,6 +369,7 @@ static const struct pcr_ops rts522a_pcr_ops = {
|
||||||
void rts522a_init_params(struct rtsx_pcr *pcr)
|
void rts522a_init_params(struct rtsx_pcr *pcr)
|
||||||
{
|
{
|
||||||
rts5227_init_params(pcr);
|
rts5227_init_params(pcr);
|
||||||
|
pcr->ops = &rts522a_pcr_ops;
|
||||||
|
|
||||||
pcr->reg_pm_ctrl3 = RTS522A_PM_CTRL3;
|
pcr->reg_pm_ctrl3 = RTS522A_PM_CTRL3;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue