diff options
author | Ricky Wu <ricky_wu@realtek.com> | 2020-03-16 10:52:32 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2020-03-18 11:55:02 +0100 |
commit | 4686392c32361c97e8434adf9cc77ad7991bfa81 (patch) | |
tree | c05878c5e52ce0c4dec51580a47627f01b047dc5 /drivers/misc/cardreader/rts5227.c | |
parent | 53dd0a7cd65edc83b0c243d1c08377c8b876b2ee (diff) | |
download | linux-stable-4686392c32361c97e8434adf9cc77ad7991bfa81.tar.gz linux-stable-4686392c32361c97e8434adf9cc77ad7991bfa81.tar.bz2 linux-stable-4686392c32361c97e8434adf9cc77ad7991bfa81.zip |
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>
Diffstat (limited to 'drivers/misc/cardreader/rts5227.c')
-rw-r--r-- | drivers/misc/cardreader/rts5227.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/cardreader/rts5227.c b/drivers/misc/cardreader/rts5227.c index 4feed296a327..423fecc19fc4 100644 --- a/drivers/misc/cardreader/rts5227.c +++ b/drivers/misc/cardreader/rts5227.c @@ -394,7 +394,7 @@ static const struct pcr_ops rts522a_pcr_ops = { void rts522a_init_params(struct rtsx_pcr *pcr) { rts5227_init_params(pcr); - + pcr->tx_initial_phase = SET_CLOCK_PHASE(20, 20, 11); pcr->reg_pm_ctrl3 = RTS522A_PM_CTRL3; pcr->option.ocp_en = 1; |