Skip to contentSkip to conversation

mmc: mmc_spi: Select CRC16 if CRC checking is enabled

PATCH Applied Daniel Palmer 2 participants 3 messages Dec 27, 2025 – Jan 8 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: mmc_spi: Select CRC16 if CRC checking is enabled

Currently CRC16 is not selected when CRC checking is enabled and if it wasn't enabled in the config otherwise the build will fail because of references to crc16_ccitt() that doesn't exist.

---
 drivers/mmc/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/mmc/Kconfig +1 -0
index 4c46df0ffb87..39caf2eff1b7 100644
@@ -91,6 +91,7 @@ config MMC_SPI_CRC_ON
 	bool "Support CRC for SPI-based MMC controller"
 	depends on MMC_SPI
 	default y
+	select CRC16
 	help
 	  This enables CRC for SPI-based MMC controllers.
 
Signature · 1 line
2.51.0