kernel_samsung_a53x/drivers/mmc/core
Mikko Rapeli f9e677448e mmc: core: Initialize mmc_blk_ioc_data
commit 0cdfe5b0bf295c0dee97436a8ed13336933a0211 upstream.

Commit 4d0c8d0aef63 ("mmc: core: Use mrq.sbc in close-ended ffu") adds
flags uint to struct mmc_blk_ioc_data, but it does not get initialized for
RPMB ioctls which now fails.

Let's fix this by always initializing the struct and flags to zero.

Fixes: 4d0c8d0aef63 ("mmc: core: Use mrq.sbc in close-ended ffu")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218587
Link: https://lore.kernel.org/all/20231129092535.3278-1-avri.altman@wdc.com/
Cc: stable@vger.kernel.org
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Tested-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Link: https://lore.kernel.org/r/20240313133744.2405325-1-mikko.rapeli@linaro.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-19 09:22:42 +01:00
..
block.c mmc: core: Initialize mmc_blk_ioc_data 2024-11-19 09:22:42 +01:00
block.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
bus.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
card.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
core.c mmc: block: Be sure to wait while busy in CQE error recovery 2024-11-18 12:11:47 +01:00
core.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
crypto.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
crypto.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
host.c mmc: core: Cancel delayed work before releasing host 2024-11-18 12:12:08 +01:00
host.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mmc.c mmc: core: Fix eMMC initialization with 1-bit bus connection 2024-11-18 23:18:29 +01:00
mmc_ops.c mmc: block: Be sure to wait while busy in CQE error recovery 2024-11-18 12:11:47 +01:00
mmc_ops.h mmc: block: Be sure to wait while busy in CQE error recovery 2024-11-18 12:11:47 +01:00
mmc_test.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwrseq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwrseq.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwrseq_emmc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwrseq_sd8787.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pwrseq_simple.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
queue.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
queue.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
quirks.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
regulator.c mmc: core: add helpers mmc_regulator_enable/disable_vqmmc 2024-11-18 12:11:17 +01:00
sd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sd_ops.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sd_ops.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sdio.c mmc: core: sdio: hold retuning if sdio in 1-bit mode 2024-11-08 11:26:18 +01:00
sdio_bus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sdio_bus.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sdio_cis.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sdio_cis.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sdio_io.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sdio_irq.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sdio_ops.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sdio_ops.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sdio_uart.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
slot-gpio.c mmc: slot-gpio: Allow non-sleeping GPIO ro 2024-11-18 12:13:32 +01:00
slot-gpio.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00