diff options
author | 2024-05-31 22:42:33 +0300 | |
---|---|---|
committer | 2024-06-10 12:48:57 +0100 | |
commit | 0535cf64e4b1ead224fbbe1c25c81221a298c5e4 (patch) | |
tree | 48bc10f1f5c5bf1f9501381a9ddbbf488b90d38f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | regmap: spi: Fix potential off-by-one when calculating reserved size (diff) | |
download | wireguard-linux-0535cf64e4b1ead224fbbe1c25c81221a298c5e4.tar.xz wireguard-linux-0535cf64e4b1ead224fbbe1c25c81221a298c5e4.zip |
spi: Introduce internal spi_xfer_is_dma_mapped() helper
There are few drivers that use the same pattern to check if the transfer
is DMA mapped or not. Provide a helper.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Neil Armstrong <neil.armstrong@linaro.org> # on SM8650-QRD
Link: https://lore.kernel.org/r/20240531194723.1761567-2-andriy.shevchenko@linux.intel.com
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Tested-by: NĂcolas F. R. A. Prado <nfraprado@collabora.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions