diff mbox

[v1,1/1] dmaengine: dw: pci: remove LPE Audio DMA ID

Message ID 20170102152621.26639-1-andriy.shevchenko@linux.intel.com (mailing list archive)
State Accepted
Headers show

Commit Message

Andy Shevchenko Jan. 2, 2017, 3:26 p.m. UTC
LPE Audio driver should take care of DMA IPs by itself. Keeping an ID like this
in dw_dma_pci.c is anyway wrong since that block has two DMA controllers under
one ID (like MFD device).

That's also why I didn't include LPE Audio ID for Intel Merrifield previously.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/dma/dw/pci.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Vinod Koul Jan. 10, 2017, 5:07 a.m. UTC | #1
On Mon, Jan 02, 2017 at 05:26:21PM +0200, Andy Shevchenko wrote:
> LPE Audio driver should take care of DMA IPs by itself. Keeping an ID like this
> in dw_dma_pci.c is anyway wrong since that block has two DMA controllers under
> one ID (like MFD device).
> 
> That's also why I didn't include LPE Audio ID for Intel Merrifield previously.

Applied now
diff mbox

Patch

diff --git a/drivers/dma/dw/pci.c b/drivers/dma/dw/pci.c
index d07e65c48208..7778ed705a1a 100644
--- a/drivers/dma/dw/pci.c
+++ b/drivers/dma/dw/pci.c
@@ -108,9 +108,8 @@  static const struct dev_pm_ops dw_pci_dev_pm_ops = {
 };
 
 static const struct pci_device_id dw_pci_id_table[] = {
-	/* Medfield */
+	/* Medfield (GPDMA) */
 	{ PCI_VDEVICE(INTEL, 0x0827) },
-	{ PCI_VDEVICE(INTEL, 0x0830) },
 
 	/* BayTrail */
 	{ PCI_VDEVICE(INTEL, 0x0f06) },