[PATCH v2 0/2] Add mtk-sd support for ignoring cmd response CRC

Andy-ld Lu andy-ld.lu at mediatek.com
Tue Nov 26 04:48:21 PST 2024


Add the process flow in the host driver to handle the R1B cmd response
type with ignoring CRC, which comes from mmc_cqe_recovery() in the mmc
core. Additionally, the response type 'MMC_RSP_R1B_NO_CRC' is introduced
to simplify code.

---
Changes in v2:
- Change mmc_cqe_recovery() to use MMC_RSP_R1B_NO_CRC response type.
- Remove MMC_RSP_R1_NO_CRC in the host driver after it is dropped.

Link to v1:
https://patchwork.kernel.org/patch/13883787

---
Andy-ld Lu (2):
  mmc: core: Introduce the MMC_RSP_R1B_NO_CRC response
  mmc: mtk-sd: Add support for ignoring cmd response CRC

 drivers/mmc/core/core.c   | 6 ++----
 drivers/mmc/host/mtk-sd.c | 6 ++++--
 include/linux/mmc/core.h  | 2 ++
 3 files changed, 8 insertions(+), 6 deletions(-)

-- 
2.46.0




More information about the Linux-mediatek mailing list