]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: renesas-sdhi: Send stop when MMC tuning command fails
authorHai Pham <hai.pham.ud@renesas.com>
Mon, 19 Jun 2023 22:38:25 +0000 (00:38 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 18 Jul 2023 00:17:23 +0000 (09:17 +0900)
commit99ab3d8dc45c184dcec692fd7130f8732e8c25e4
tree3dabdcd51ff0a6a5ab14b513504c0a1d861e36d7
parent0ac2cca3a447cbc59d714b1b35425b54283d153a
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: Takeshi Kihara <takeshi.kihara.df@renesas.com>
Reviewed-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Signed-off-by: Hai Pham <hai.pham.ud@renesas.com>
Signed-off-by: Marek 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: Peng Fan <peng.fan@nxp.com>
drivers/mmc/renesas-sdhi.c