diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-02-23 20:16:37 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-02-24 14:43:52 +0100 |
commit | 609d7ffdc42199a0ec949db057e3b4be6745d6c5 (patch) | |
tree | 4b6d691379f5c628b49006a72a92895e108aa14a /drivers/mcb/mcb-internal.h | |
parent | spi: pxa2xx-pci: Do not dereference fwnode in struct device (diff) | |
download | linux-609d7ffdc42199a0ec949db057e3b4be6745d6c5.tar.xz linux-609d7ffdc42199a0ec949db057e3b4be6745d6c5.zip |
spi: pxa2xx-pci: Balance reference count for PCI DMA device
The pci_get_slot() increases its reference count, the caller
must decrement the reference count by calling pci_dev_put().
Fixes: 743485ea3bee ("spi: pxa2xx-pci: Do a specific setup in a separate function")
Fixes: 25014521603f ("spi: pxa2xx-pci: Enable DMA for Intel Merrifield")
Reported-by: Wang Qing <wangqing@vivo.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220223191637.31147-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/mcb/mcb-internal.h')
0 files changed, 0 insertions, 0 deletions