[PATCH] mci: sdhci: initialize dma state on non-data commands

Sascha Hauer s.hauer at pengutronix.de
Mon Dec 16 00:29:21 PST 2024


On Fri, 13 Dec 2024 21:58:15 +0100, Lucas Stach wrote:
> Commands without data will leave the dma parameter uninitialized
> in sdhci_setup_data_dma(). Drivers then decide whether to set
> SDHCI_DMA_EN based on this uninitialized data. This seems to be
> mostly harmless as the host controllers seem to ignore this bit
> on non-data commands, but it's still a bit confusing. Make sure
> to always return a valid state.
> 
> [...]

Applied, thanks!

[1/1] mci: sdhci: initialize dma state on non-data commands
      https://git.pengutronix.de/cgit/barebox/commit/?id=ce07b7ed0266 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list