diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-03-07 19:37:40 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-03-08 12:28:07 +0000 |
commit | 80ab9012bbf1011f57c06b3c6e4ac3816c4a86f5 (patch) | |
tree | 4a9e008dd6307bc56d1b69a8b76e40c7ab707203 /Makefile | |
parent | b15e3bc76925eb1366348483fca89f115c8cde31 (diff) | |
download | linux-rpi-80ab9012bbf1011f57c06b3c6e4ac3816c4a86f5.tar.gz linux-rpi-80ab9012bbf1011f57c06b3c6e4ac3816c4a86f5.tar.bz2 linux-rpi-80ab9012bbf1011f57c06b3c6e4ac3816c4a86f5.zip |
spi: topcliff-pch: Prevent usage of potentially stale DMA device
DMA device is expected to be available while SPI transfer is ongoing.
Prevent usage of potentially stale DMA device by keeping reference
count till the end of the transfer.
Fixes: 4d986ffa036a ("spi: add missing pci_dev_put() before return")
Reported-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220307173740.80996-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions