serial: 8250_lpss: Balance reference count for PCI DMA device
[ Upstream commit
65b6ece8dd5952251390f0d562f3d485fa7cb2bd ]
The pci_get_slot() increases its reference count, the caller
must decrement the reference count by calling pci_dev_put().
Fixes: aba45cc70350 ("serial: 8250: don't use slave_id of dma_slave_config")
Depends-on:
a53794e10b58 ("serial: 8250_lpss: split LPSS driver to separate module")
Reported-by: Qing Wang <wangqing@vivo.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20220223151240.70248-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>