misc: rtsx: Fix OCP function for RTS5261
authorRui Feng <rui_feng@realsil.com.cn>
Tue, 3 Nov 2020 09:54:38 +0000 (17:54 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 16 Nov 2020 10:59:29 +0000 (11:59 +0100)
commitc28e3fb28f87cc0dba915f1303f4d018686363b8
tree07478e9e2957b26aa24b40f238a885e5d13e00c7
parent6b7b58f425c3359787483479d73c0bb98ffc65b8
misc: rtsx: Fix OCP function for RTS5261

This patch fix the bug that when there is over current but
reader can't enable OCP.

Signed-off-by: Rui Feng <rui_feng@realsil.com.cn>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/1604397278-2815-1-git-send-email-rui_feng@realsil.com.cn
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/misc/cardreader/rts5261.c