Jon Hunter ae4b3c1252
spi: tegra210-quad: Don't initialise DMA if not supported
The following error messages are observed on boot for Tegra234 ...

 ERR KERN tegra-qspi 3270000.spi: cannot use DMA: -19
 ERR KERN tegra-qspi 3270000.spi: falling back to PIO

Tegra234 does not support DMA for the QSPI and so initialising the DMA
is expected to fail. The above error messages are misleading for devices
that don't support DMA and so fix this by skipping the DMA
initialisation for devices that don't support DMA.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20221026155633.141792-1-jonathanh@nvidia.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-10-28 17:27:44 +01:00
..
2022-08-30 11:21:34 +01:00
2022-01-04 14:59:40 +00:00
2022-08-02 10:55:04 -07:00
2021-12-23 13:38:38 +00:00
2022-05-25 16:55:16 -07:00
2022-03-15 12:03:58 +00:00
2022-04-19 13:13:48 +01:00