mmc: rtsx_pci: Fix support for speed-modes that relies on tuning
authorRicky Wu <ricky_wu@realtek.com>
Mon, 16 Mar 2020 02:52:32 +0000 (10:52 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 18 Mar 2020 10:55:02 +0000 (11:55 +0100)
commit4686392c32361c97e8434adf9cc77ad7991bfa81
treec05878c5e52ce0c4dec51580a47627f01b047dc5
parent53dd0a7cd65edc83b0c243d1c08377c8b876b2ee
mmc: rtsx_pci: Fix support for speed-modes that relies on tuning

The TX/RX register should not be treated the same way to allow for better
support of tuning. Fix this by using a default initial value for TX.

Signed-off-by: Ricky Wu <ricky_wu@realtek.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200316025232.1167-1-ricky_wu@realtek.com
[Ulf: Updated changelog]
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/cardreader/rts5227.c
drivers/misc/cardreader/rts5249.c
drivers/misc/cardreader/rts5260.c
drivers/misc/cardreader/rts5261.c
drivers/mmc/host/rtsx_pci_sdmmc.c