diff options
author | Tony Lindgren <[email protected]> | 2021-08-10 11:16:43 +0300 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2021-08-24 10:15:34 +0200 |
commit | c3ff0189d3bc9c03845fe37472c140f0fefd0c79 (patch) | |
tree | e3ee10f0e9df8477bde3bb8d946dbd96010d6d1c /scripts/gdb/linux/device.py | |
parent | 522654d534d315d540710124c57b49ca22ac5f72 (diff) |
mmc: dw_mmc: 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.
For dw_mmc, this is probably not currently an issue but is still good to
fix though.
Fixes: 3fc7eaef44db ("mmc: dw_mmc: Add external dma interface support")
Cc: Shawn Lin <[email protected]>
Cc: Jaehoon Chung <[email protected]>
Cc: Peter Ujfalusi <[email protected]>
Cc: Vinod Koul <[email protected]>
Signed-off-by: Tony Lindgren <[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