Skip to content
Commit 99ab3d8d authored by Hai Pham's avatar Hai Pham Committed by Jaehoon Chung
Browse files

mmc: renesas-sdhi: Send stop when MMC tuning command fails



When tuning command (CMD21) fails with command error, call
mmc_send_stop_transmission() to send stop command (CMD12).

Reviewed-by: default avatarTakeshi Kihara <takeshi.kihara.df@renesas.com>
Reviewed-by: default avatarMarek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: default avatarHai Pham <hai.pham.ud@renesas.com>
Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@mailbox.org>
[Marek: Add dev_dbg() message in case tuning abort fails
        Move tuning opcode check from mmc_abort_tuning()]
Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
parent 0ac2cca3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment