linux_dsm_epyc7002/drivers/misc/cardreader
Klaus Doth 7a839dbab1 misc: rtsx: Add short delay after exit from ASPM
DMA transfers to and from the SD card stall for 10 seconds and run into
timeout on RTS5260 card readers after ASPM was enabled.

Adding a short msleep after disabling ASPM fixes the issue on several
Dell Precision 7530/7540 systems I tested.

This function is only called when waking up after the chip went into
power-save after not transferring data for a few seconds. The added
msleep does therefore not change anything in data transfer speed or
induce any excessive waiting while data transfers are running, or the
chip is sleeping. Only the transition from sleep to active is affected.

Signed-off-by: Klaus Doth <kdlnx@doth.eu>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/4434eaa7-2ee3-a560-faee-6cee63ebd6d4@doth.eu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-05-22 13:27:38 +02:00
..
alcor_pci.c misc: alcor_pci: Add AU6625 to list of supported PCI_IDs 2020-01-14 15:16:50 +01:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile misc: rtsx: Add support for RTS5261 2019-11-14 13:07:48 +08:00
rtl8411.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 17 2019-05-21 11:28:46 +02:00
rts5209.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 17 2019-05-21 11:28:46 +02:00
rts5227.c misc: rtsx: set correct pcr_ops for rts522A 2020-03-26 15:50:38 +01:00
rts5229.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 17 2019-05-21 11:28:46 +02:00
rts5249.c mmc: rtsx_pci: Fix support for speed-modes that relies on tuning 2020-03-18 11:55:02 +01:00
rts5260.c mmc: rtsx_pci: Fix support for speed-modes that relies on tuning 2020-03-18 11:55:02 +01:00
rts5260.h misc: rtsx: Add support for RTS5260 2017-11-29 10:17:26 +00:00
rts5261.c mmc: rtsx_pci: Fix support for speed-modes that relies on tuning 2020-03-18 11:55:02 +01:00
rts5261.h misc: rtsx: Add support for RTS5261 2019-11-14 13:07:48 +08:00
rtsx_pcr.c misc: rtsx: Add short delay after exit from ASPM 2020-05-22 13:27:38 +02:00
rtsx_pcr.h misc: rtsx: Add support for RTS5261 2019-11-14 13:07:48 +08:00
rtsx_usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234 2019-06-19 17:09:07 +02:00