]> www.infradead.org Git - users/willy/xarray.git/commit
mmc: Add quirk to disable DDR50 tuning
authorErick Shepherd <erick.shepherd@ni.com>
Mon, 31 Mar 2025 22:13:37 +0000 (17:13 -0500)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 14 May 2025 14:59:16 +0000 (16:59 +0200)
commit9510b38dc0ba358c93cbf5ee7c28820afb85937b
treed3b3d88892c0f02a167757148a314d2bbce63416
parent7473647c350cfe9e071bfc2fa4ac5a3cc5ced8a0
mmc: Add quirk to disable DDR50 tuning

Adds the MMC_QUIRK_NO_UHS_DDR50_TUNING quirk and updates
mmc_execute_tuning() to return 0 if that quirk is set. This fixes an
issue on certain Swissbit SD cards that do not support DDR50 tuning
where tuning requests caused I/O errors to be thrown.

Signed-off-by: Erick Shepherd <erick.shepherd@ni.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20250331221337.1414534-1-erick.shepherd@ni.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/card.h
drivers/mmc/core/quirks.h
drivers/mmc/core/sd.c
include/linux/mmc/card.h