misc: rtsx: set correct pcr_ops for rts522A
authorYueHaibing <yuehaibing@huawei.com>
Thu, 26 Mar 2020 03:26:18 +0000 (11:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Apr 2020 07:08:41 +0000 (09:08 +0200)
commit82f6c72e5d4d2b7de81e88c20b460bf3bd868869
tree2cf8147445125e210bd631cf9b479d81a4869e60
parentcec4be18d1367ec9c57222e4b3ab96d22a60b029
misc: rtsx: set correct pcr_ops for rts522A

commit 10cea23b6aae15e8324f4101d785687f2c514fe5 upstream.

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>
drivers/misc/cardreader/rts5227.c