Kaustabh Chakraborty
ae46019592
mmc: dw_mmc: properly address command completion in dwmci_control_clken()
...
The current implementation polls for the DWMCI_CMD register, for the
DWMCI_CMD_START bit to turn off, which indicates that the command has
been completed. The problem with this approach is that it doesn't
address the DWMCI_INTMSK_CDONE bit in the interrupt register,
DWMCI_RINTSTS. As a result, subsequent commands result in timeout errors.
Re-implement the waiting logic by polling for said interrupt status bit
and setting it low if raised.
Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2025-10-30 10:11:17 +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
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-10-30 10:11:17 +08:00
2025-10-30 10:11:17 +08:00
2024-05-20 13:35:03 -06:00
2025-03-13 15:15:50 -03: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
2024-08-19 16:09:06 +09:00
2025-09-01 10:33:09 +08:00
2024-05-20 13:35:03 -06:00
2025-07-17 11:42:46 -06:00
2025-07-17 11:42:46 -06:00
2024-05-20 13:35:03 -06: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
2025-04-23 10:41:11 +08:00
2025-10-10 10:46:40 +08:00
2025-03-17 13:38:17 +00: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
2024-12-11 08:36:24 +01:00
2025-04-23 22:12:05 +08:00
2025-08-30 23:33:32 +08: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
2025-10-10 10:45:56 +08:00
2024-09-05 16:18:38 -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-09-30 14:29:55 +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