projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mt76-6e-usb: mt7921u: Add support Netgear AXE3000(A8000) device
[platform/kernel/linux-rpi.git]
/
drivers
/
spi
/
spi-dw-dma.c
diff --git
a/drivers/spi/spi-dw-dma.c
b/drivers/spi/spi-dw-dma.c
index
a09831c
..
32ac8f9
100644
(file)
--- a/
drivers/spi/spi-dw-dma.c
+++ b/
drivers/spi/spi-dw-dma.c
@@
-127,12
+127,15
@@
static int dw_spi_dma_init_mfld(struct device *dev, struct dw_spi *dws)
dw_spi_dma_sg_burst_init(dws);
+ pci_dev_put(dma_dev);
+
return 0;
free_rxchan:
dma_release_channel(dws->rxchan);
dws->rxchan = NULL;
err_exit:
+ pci_dev_put(dma_dev);
return -EBUSY;
}