diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2022-02-15 13:09:20 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-08 15:23:46 +0300 |
commit | 3a1131f7d2a86131aae4f0fb27802ae6c46ae26a (patch) | |
tree | b6c549e57b92d702b790ebc4106aa139734d742e /drivers/tty/serial/8250/8250_lpss.c | |
parent | 675216a820ec49563e1804d22624504421c15742 (diff) | |
download | linux-3a1131f7d2a86131aae4f0fb27802ae6c46ae26a.tar.xz |
serial: 8250_mid: Balance reference count for PCI DMA device
[ Upstream commit 67ec6dd0b257bd81b4e9fcac89b29da72f6265e5 ]
The pci_get_slot() increases its reference count, the caller
must decrement the reference count by calling pci_dev_put().
Fixes: 90b9aacf912a ("serial: 8250_pci: add Intel Tangier support")
Fixes: f549e94effa1 ("serial: 8250_pci: add Intel Penwell ports")
Reported-by: Qing Wang <wangqing@vivo.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Depends-on: d9eda9bab237 ("serial: 8250_pci: Intel MID UART support to its own driver")
Link: https://lore.kernel.org/r/20220215100920.41984-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250_lpss.c')
0 files changed, 0 insertions, 0 deletions