diff options
author | Tony Lindgren <[email protected]> | 2021-08-10 11:16:42 +0300 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2021-08-24 10:15:34 +0200 |
commit | 522654d534d315d540710124c57b49ca22ac5f72 (patch) | |
tree | 06cf1dce97603d26966c7c903e9e4642d91db39d /scripts/gdb/linux/device.py | |
parent | ed78a03d4128ac90f73332d7ac992f952916573c (diff) |
mmc: sdhci: Fix issue with uninitialized dma_slave_config
Depending on the DMA driver being used, the struct dma_slave_config may
need to be initialized to zero for the unused data.
For example, we have three DMA drivers using src_port_window_size and
dst_port_window_size. If these are left uninitialized, it can cause DMA
failures at least if external TI SDMA is ever configured for sdhci.
For other external DMA cases, this is probably not currently an issue but
is still good to fix though.
Fixes: 18e762e3b7a7 ("mmc: sdhci: add support for using external DMA devices")
Cc: Adrian Hunter <[email protected]>
Cc: Chunyan Zhang <[email protected]>
Cc: Faiz Abbas <[email protected]>
Cc: Peter Ujfalusi <[email protected]>
Cc: Vinod Koul <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Reviewed-by: Peter Ujfalusi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions