summaryrefslogtreecommitdiff
path: root/drivers/ddr/imx/phy/ddrphy_csr.c
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@mailbox.org>2024-02-20 09:38:45 +0100
committerJaehoon Chung <jh80.chung@samsung.com>2024-04-15 15:19:12 +0900
commit12859c2219a61bf4ce8b33de267d2b0e3e11ef37 (patch)
treef7435f6be22e8d0fe9452bd6ade6293ecc89797f /drivers/ddr/imx/phy/ddrphy_csr.c
parent60649a8d6cc975a36d06aad14ed55079e75bc4fa (diff)
mmc: renesas-sdhi: Stop transmission in case tuning block transfer fails
The current code uses the state of tuning block received by SCC to determine whether or not to send transmission stop command. This is not correct. Use the state of tuning block transfer to determine whether or not to send transmission stop command instead, because the transmission stop command has to be sent in case the tuning block transfer failed. This requires two changes, separate variable to store and check the state of tuning block received by SCC, and another separate variable to store and check return value from transmission stop command. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com> Tested-by: Paul Barker <paul.barker.ct@bp.renesas.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'drivers/ddr/imx/phy/ddrphy_csr.c')
0 files changed, 0 insertions, 0 deletions