diff options
author | Vincent Whitchurch <[email protected]> | 2023-01-02 17:08:51 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-01-03 13:42:54 +0000 |
commit | dfce16722b9cb842a6f23500ee80b3d07b47bdd4 (patch) | |
tree | d1cf26bc0bdeaf479432b45f638cfcca8efa5e19 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 02c9e5b768b26239be7459438275f8fc835e9dc4 (diff) |
spi: pl022: Only use DT-specified DMA channels
When a platform is booted with devicetree and does not provide a
platform data structure, the driver creates one internally. enable_dma
should not be set in this structure when creating it; the probe function
will set it later if DMA channels are specified via the devicetree.
Setting enable_dma = 1 when creating this internal platform data can
lead to pl022_dma_probe() finding bogus DMA channels (since there is no
channel filter specified) when no DMA channels are specified in the
devicetree.
Signed-off-by: Vincent Whitchurch <[email protected]>
Acked-by: Dhruva Gole <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions