projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f160111
)
ata: sata_dwc_460ex: Propagate platform device ID to DMA driver
author
Andy Shevchenko
<andriy.shevchenko@linux.intel.com>
Fri, 10 Nov 2017 17:59:37 +0000
(19:59 +0200)
committer
Tejun Heo
<tj@kernel.org>
Mon, 13 Nov 2017 20:17:11 +0000
(12:17 -0800)
Propagate platform device ID to DMA driver to distinguish relationship
between DMA and SATA instances.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_dwc_460ex.c
patch
|
blob
|
history
diff --git
a/drivers/ata/sata_dwc_460ex.c
b/drivers/ata/sata_dwc_460ex.c
index ce128d5a6ded21b7603d737be439fa89e9050d56..6af4ec3c88c3f5592d5958692a0a7260e0ad91f0 100644
(file)
--- a/
drivers/ata/sata_dwc_460ex.c
+++ b/
drivers/ata/sata_dwc_460ex.c
@@
-248,6
+248,7
@@
static int sata_dwc_dma_init_old(struct platform_device *pdev,
return -ENOMEM;
hsdev->dma->dev = &pdev->dev;
+ hsdev->dma->id = pdev->id;
/* Get SATA DMA interrupt number */
hsdev->dma->irq = irq_of_parse_and_map(np, 1);