diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-01-08 15:07:54 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-01-28 19:00:24 +0300 |
commit | bef8c5fdf50b573351571e94525800c41d9830f2 (patch) | |
tree | b022b345631c0dc28156eb48608db53b21e56843 /scripts/gdb/linux/tasks.py | |
parent | fa183433bf53ee092323005f05cb3491e4aaaa8b (diff) | |
download | linux-bef8c5fdf50b573351571e94525800c41d9830f2.tar.xz |
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 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions