WSL2-Linux-Kernel/drivers/misc/cardreader
Ricky WU 78e70c6238 misc: rtsx: Fix some platforms can not boot and move the l1ss judgment to probe
commit 0e4cac5575 upstream.

commit 101bd907b4 ("misc: rtsx: judge ASPM Mode to set PETXCFG Reg")
some readers no longer force #CLKREQ to low
when the system need to enter ASPM.
But some platform maybe not implement complete ASPM?
it causes some platforms can not boot

Like in the past only the platform support L1ss we release the #CLKREQ.
Move the judgment (L1ss) to probe,
we think read config space one time when the driver start is enough

Fixes: 101bd907b4 ("misc: rtsx: judge ASPM Mode to set PETXCFG Reg")
Cc: stable <stable@kernel.org>
Reported-by: Paul Grandperrin <paul.grandperrin@gmail.com>
Signed-off-by: Ricky Wu <ricky_wu@realtek.com>
Tested-By: Jade Lovelace <lists@jade.fyi>
Link: https://lore.kernel.org/r/37b1afb997f14946a8784c73d1f9a4f5@realtek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-10-06 13:18:21 +02:00
..
Kconfig
Makefile misc: rtsx: Add support new chip rts5228 mmc: rtsx: Add support MMC_CAP2_NO_MMC 2020-07-10 14:58:47 +02:00
alcor_pci.c misc: alcor_pci: Fix an error handling path 2022-04-08 14:23:44 +02:00
rtl8411.c misc: rtsx: separate aspm mode into MODE_REG and MODE_CFG 2021-06-09 19:10:22 +02:00
rts5209.c misc: rtsx: separate aspm mode into MODE_REG and MODE_CFG 2021-06-09 19:10:22 +02:00
rts5227.c misc: rtsx: Fix some platforms can not boot and move the l1ss judgment to probe 2023-10-06 13:18:21 +02:00
rts5228.c misc: rtsx: Fix some platforms can not boot and move the l1ss judgment to probe 2023-10-06 13:18:21 +02:00
rts5228.h misc: rtsx: Add support new chip rts5228 mmc: rtsx: Add support MMC_CAP2_NO_MMC 2020-07-10 14:58:47 +02:00
rts5229.c misc: rtsx: separate aspm mode into MODE_REG and MODE_CFG 2021-06-09 19:10:22 +02:00
rts5249.c misc: rtsx: Fix some platforms can not boot and move the l1ss judgment to probe 2023-10-06 13:18:21 +02:00
rts5260.c misc: rtsx: Fix some platforms can not boot and move the l1ss judgment to probe 2023-10-06 13:18:21 +02:00
rts5260.h
rts5261.c misc: rtsx: Fix some platforms can not boot and move the l1ss judgment to probe 2023-10-06 13:18:21 +02:00
rts5261.h misc: rtsx: Check mmc support for RTS5261 2020-11-16 11:59:30 +01:00
rtsx_pcr.c misc: rtsx: Fix some platforms can not boot and move the l1ss judgment to probe 2023-10-06 13:18:21 +02:00
rtsx_pcr.h misc: rtsx: rts5249 support runtime PM 2020-12-09 19:42:18 +01:00
rtsx_usb.c misc: rtsx_usb: set return value in rsp_buf alloc err path 2022-07-12 16:35:17 +02:00