diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-11-10 18:59:37 +0100 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2017-11-13 21:17:11 +0100 |
commit | 47e46613d84d2750eb70a7ff07a03ed8ffbec5af (patch) | |
tree | c985be3b20be2e9aa5f57a0e007ef9fddf49feec /drivers/ata | |
parent | ata: fixes kernel crash while tracing ata_eh_link_autopsy event (diff) | |
download | linux-47e46613d84d2750eb70a7ff07a03ed8ffbec5af.tar.xz linux-47e46613d84d2750eb70a7ff07a03ed8ffbec5af.zip |
ata: sata_dwc_460ex: Propagate platform device ID to DMA driver
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>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/sata_dwc_460ex.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |