diff mbox

powerpc/p1022: add probing for individual DMA channels, not just DMA controllers

Message ID 1282253292-19420-1-git-send-email-timur@freescale.com (mailing list archive)
State Accepted, archived
Commit f7a07fd9617140c6111de82400ba1bad3162fb85
Delegated to: Kumar Gala
Headers show

Commit Message

Timur Tabi Aug. 19, 2010, 9:28 p.m. UTC
Like the MPC8610 HPCD, the P1022DS ASoC DMA driver probes on individual DMA
channel nodes, so the DMA controller nodes' compatible string must be listed in
p1022_ds_ids[] to work.

Signed-off-by: Timur Tabi <timur@freescale.com>
---

This is for -next.

I don't know why I forgot to include this change in the original P1022DS patch.

 arch/powerpc/platforms/85xx/p1022_ds.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Comments

Kumar Gala Oct. 7, 2010, 6:27 a.m. UTC | #1
On Aug 19, 2010, at 4:28 PM, Timur Tabi wrote:

> Like the MPC8610 HPCD, the P1022DS ASoC DMA driver probes on individual DMA
> channel nodes, so the DMA controller nodes' compatible string must be listed in
> p1022_ds_ids[] to work.
> 
> Signed-off-by: Timur Tabi <timur@freescale.com>
> ---
> 
> This is for -next.
> 
> I don't know why I forgot to include this change in the original P1022DS patch.
> 
> arch/powerpc/platforms/85xx/p1022_ds.c |    2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)

applied to next

- k
diff mbox

Patch

diff --git a/arch/powerpc/platforms/85xx/p1022_ds.c b/arch/powerpc/platforms/85xx/p1022_ds.c
index e1467c9..08446fc 100644
--- a/arch/powerpc/platforms/85xx/p1022_ds.c
+++ b/arch/powerpc/platforms/85xx/p1022_ds.c
@@ -112,6 +112,8 @@  static struct of_device_id __initdata p1022_ds_ids[] = {
 	{ .compatible = "soc", },
 	{ .compatible = "simple-bus", },
 	{ .compatible = "gianfar", },
+	/* So that the DMA channel nodes can be probed individually: */
+	{ .compatible = "fsl,eloplus-dma", },
 	{},
 };