* [PATCH v1] ata: sata_dwc_460ex: Propagate platform device ID to DMA driver
@ 2017-11-10 17:59 Andy Shevchenko
2017-11-13 20:17 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Andy Shevchenko @ 2017-11-10 17:59 UTC (permalink / raw)
To: Tejun Heo, linux-ide; +Cc: Andy Shevchenko
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>
---
drivers/ata/sata_dwc_460ex.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index ce128d5a6ded..6af4ec3c88c3 100644
--- 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);
--
2.14.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] ata: sata_dwc_460ex: Propagate platform device ID to DMA driver
2017-11-10 17:59 [PATCH v1] ata: sata_dwc_460ex: Propagate platform device ID to DMA driver Andy Shevchenko
@ 2017-11-13 20:17 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2017-11-13 20:17 UTC (permalink / raw)
To: Andy Shevchenko; +Cc: linux-ide
On Fri, Nov 10, 2017 at 07:59:37PM +0200, Andy Shevchenko wrote:
> 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>
Applied to libata/for-4.15.
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-13 20:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-10 17:59 [PATCH v1] ata: sata_dwc_460ex: Propagate platform device ID to DMA driver Andy Shevchenko
2017-11-13 20:17 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox