diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-01-08 13:07:54 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2022-01-28 16:00:24 +0000 |
| commit | bef8c5fdf50b573351571e94525800c41d9830f2 (patch) | |
| tree | b022b345631c0dc28156eb48608db53b21e56843 /tools/perf/scripts/python/stackcollapse.py | |
| parent | regulator: maxim,max8973: Drop Tegra specifics from example (diff) | |
| download | linux-bef8c5fdf50b573351571e94525800c41d9830f2.tar.gz linux-bef8c5fdf50b573351571e94525800c41d9830f2.zip | |
spi: qcom: geni: Simplify DMA setting
As stated in [1], dma_set_mask() with a 64-bit mask will never fail if
dev->dma_mask is non-NULL.
So, if it fails, the 32 bits case will also fail for the same reason.
Simplify code and remove some dead code accordingly.
[1]: https://lkml.org/lkml/2021/6/7/398
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/1b14e4ce91a33c16b2c655389c728071a9c9aa2e.1641643601.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
