diff options
author | Andy Shevchenko <[email protected]> | 2022-03-07 19:37:40 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-03-08 12:28:07 +0000 |
commit | 80ab9012bbf1011f57c06b3c6e4ac3816c4a86f5 (patch) | |
tree | 4a9e008dd6307bc56d1b69a8b76e40c7ab707203 /net/lapb/lapb_in.c | |
parent | b15e3bc76925eb1366348483fca89f115c8cde31 (diff) |
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 <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions