mmc: core: add mmc_read_tuning
authorBenoît Monin <benoit.monin@bootlin.com>
Mon, 18 Aug 2025 14:02:50 +0000 (16:02 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 19 Aug 2025 12:34:15 +0000 (14:34 +0200)
commit99e6cc80d5ce5af5781f84d20e4f3478d66ee8ee
tree964522e8670a42eb5e1507757e4212a206d31c09
parentf33bba9b6442fdc092ecc3b1555bc4cdbb9962bb
mmc: core: add mmc_read_tuning

Provide a function to the MMC hosts to read some blocks of data as part
of their tuning.

This function only returns the status of the read operation, not the
data read.

Signed-off-by: Benoît Monin <benoit.monin@bootlin.com>
Link: https://lore.kernel.org/r/20250818-mobileye-emmc-for-upstream-4-v4-5-34ecb3995e96@bootlin.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/mmc_ops.c
include/linux/mmc/host.h