From: Sasha Levin Date: Tue, 14 Apr 2020 03:00:49 +0000 (-0400) Subject: Fixes for 4.9 X-Git-Tag: v4.19.116~98 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6cd171003f5738755f1845334a934e25ccb83ba4;p=thirdparty%2Fkernel%2Fstable-queue.git Fixes for 4.9 Signed-off-by: Sasha Levin --- diff --git a/queue-4.9/misc-rtsx-set-correct-pcr_ops-for-rts522a.patch b/queue-4.9/misc-rtsx-set-correct-pcr_ops-for-rts522a.patch new file mode 100644 index 00000000000..4298e44e7dd --- /dev/null +++ b/queue-4.9/misc-rtsx-set-correct-pcr_ops-for-rts522a.patch @@ -0,0 +1,37 @@ +From 0885dde114fc9bde6664ecc6948fee210d22bfe3 Mon Sep 17 00:00:00 2001 +From: Sasha Levin +Date: Thu, 26 Mar 2020 11:26:18 +0800 +Subject: misc: rtsx: set correct pcr_ops for rts522A + +From: YueHaibing + +[ 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 +Cc: stable +Link: https://lore.kernel.org/r/20200326032618.20472-1-yuehaibing@huawei.com +Signed-off-by: Greg Kroah-Hartman +Signed-off-by: Sasha Levin +--- + drivers/mfd/rts5227.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/mfd/rts5227.c b/drivers/mfd/rts5227.c +index ff296a4bf3d23..dc6a9432a4b65 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; + } +-- +2.20.1 + diff --git a/queue-4.9/series b/queue-4.9/series index a535fb8d66b..40c5a742ef5 100644 --- a/queue-4.9/series +++ b/queue-4.9/series @@ -11,3 +11,4 @@ x86-boot-use-unsigned-comparison-for-addresses.patch locking-lockdep-avoid-recursion-in-lockdep_count_-fo.patch btrfs-remove-a-bug_on-from-merge_reloc_roots.patch btrfs-track-reloc-roots-based-on-their-commit-root-b.patch +misc-rtsx-set-correct-pcr_ops-for-rts522a.patch