OrangePi_CM5/drivers/misc/cardreader
Shuah Khan ff79e0ca2b misc: rtsx_usb: use separate command and response buffers
commit 3776c78559853fd151be7c41e369fd076fb679d5 upstream.

rtsx_usb uses same buffer for command and response. There could
be a potential conflict using the same buffer for both especially
if retries and timeouts are involved.

Use separate command and response buffers to avoid conflicts.

Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/07e3721804ff07aaab9ef5b39a5691d0718b9ade.1656642167.git.skhan@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-07-12 16:32:22 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
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:40:24 +02:00
rtl8411.c misc: rtsx: Remove rtsx_pci_read/write_config() wrappers 2020-07-22 13:29:44 +02:00
rts5209.c misc: rtsx: Remove rtsx_pci_read/write_config() wrappers 2020-07-22 13:29:44 +02:00
rts5227.c misc: rtsx: init of rts522a add OCP power off when no card is present 2021-03-04 11:38:32 +01:00
rts5228.c misc: rtsx: Fix power down flow 2020-09-16 17:30:37 +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: Remove rtsx_pci_read/write_config() wrappers 2020-07-22 13:29:44 +02:00
rts5249.c misc: rtsx: Add power saving functions and fix driving parameter 2020-09-16 17:30:37 +02:00
rts5260.c misc: rtsx: Add power saving functions and fix driving parameter 2020-09-16 17:30:37 +02:00
rts5260.h
rts5261.c misc: rtsx: Use standard PCI definitions 2020-07-22 13:39:31 +02:00
rts5261.h misc: rtsx: Add support for RTS5261 2019-11-14 13:07:48 +08:00
rtsx_pcr.c misc: rtsx: Fix power down flow 2020-09-16 17:30:37 +02:00
rtsx_pcr.h misc: rtsx: Add power saving functions and fix driving parameter 2020-09-16 17:30:37 +02:00
rtsx_usb.c misc: rtsx_usb: use separate command and response buffers 2022-07-12 16:32:22 +02:00