Yanir Levin
124aeeff83
mmc: Fix retry logic in sd_get_capabilities
...
In sd_get_capabilities an ACMD is sent (SD_CMD_APP_SEND_SCR),
which requires sending APP_CMD (MMC_CMD_APP_CMD) before.
Currently, the ACMD is retried on error, however APP_CMD isn't.
In this case, when the ACMD fails and it is tried again,
the retry attempts will not be handled as ACMD, which is wrong.
The fix performs the retry attempts on the sequence of
APP_CMD and the ACMD together.
Signed-off-by: Yanir Levin <yanir.levin@tandemg.com >
Reviewed-by: Eran Moshe <emoshe@gsitechnology.com >
Signed-off-by: Peng Fan <peng.fan@nxp.com >
2026-01-22 10:38:50 +08:00
..
2025-09-16 13:44:07 -06:00
2025-06-04 11:50:39 -06:00
2024-05-20 13:35:03 -06:00
2021-10-29 18:22:32 +09:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-08-19 16:09:06 +09:00
2025-10-10 11:06:00 +08:00
2024-07-22 10:53:05 -06:00
2025-11-07 09:28:28 +08:00
2025-11-07 09:28:29 +08:00
2024-05-20 13:35:03 -06:00
2025-12-04 09:38:16 -06:00
2024-07-22 10:53:05 -06:00
2024-07-22 10:53:05 -06:00
2024-05-20 13:35:03 -06:00
2024-08-19 16:09:06 +09:00
2025-08-13 12:59:36 +03:00
2025-12-04 09:38:16 -06:00
2025-09-01 10:33:09 +08:00
2024-05-20 13:35:03 -06:00
2026-01-08 22:05:53 +08:00
2025-07-17 11:42:46 -06:00
2025-12-11 17:26:31 +01:00
2020-12-13 16:51:09 -07:00
2025-04-11 11:51:04 +08:00
2024-05-20 13:35:03 -06:00
2024-10-11 11:44:48 -06:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2025-07-24 12:43:31 +08:00
2024-05-20 13:35:03 -06:00
2026-01-22 10:38:48 +08:00
2026-01-22 10:38:50 +08:00
2026-01-14 16:25:09 +01:00
2025-01-30 14:35:14 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2024-08-19 16:09:06 +09:00
2024-05-20 13:35:03 -06:00
2025-10-13 16:13:21 +02:00
2023-11-16 18:59:58 -05:00
2025-10-08 13:54:59 -06:00
2025-10-28 10:32:59 -06:00
2024-05-20 13:35:03 -06:00
2024-01-29 22:35:02 -05:00
2024-07-22 10:53:05 -06:00
2025-11-07 17:40:42 +01:00
2025-04-23 22:12:05 +08:00
2025-11-02 12:15:23 -06:00
2025-07-02 12:44:44 +08:00
2025-07-24 12:35:35 +08:00
2024-05-20 13:35:03 -06:00
2024-05-20 13:35:03 -06:00
2026-01-22 10:38:49 +08:00
2025-12-18 08:06:10 -06:00
2024-09-05 16:18:38 -06:00
2025-04-24 10:44:52 -06:00
2024-05-20 13:35:03 -06:00
2024-03-02 14:29:36 -05:00
2024-12-18 13:19:15 +08:00
2025-06-02 17:26:16 -06:00
2025-12-01 14:30:31 +08:00
2024-05-20 13:35:03 -06:00
2025-08-25 16:47:39 +02:00
2025-07-27 22:57:35 +01:00
2025-03-27 00:26:35 +00:00
2024-05-20 13:35:03 -06:00
2024-07-22 10:53:05 -06:00
2024-10-11 11:44:48 -06:00
2024-12-11 08:36:24 +01:00
2024-10-11 11:44:48 -06:00
2024-05-20 13:35:03 -06:00
2025-10-09 09:07:03 +02:00