Skip to contentSkip to conversation

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

PATCH Applied Timur Tabi 2 participants 2 messages Aug 19, 2010 – Oct 7, 2010

Subsystems (2)
lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

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

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.

---

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(-)
arch/powerpc/platforms/85xx/p1022_ds.c +2 -0
index e1467c9..08446fc 100644
@@ -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", },
 	{},
 };
 
Signature · 1 line
1.7.0.1
Applied
#1 lore raw
Quoted 1 line · Timur Tabi

Like the MPC8610 HPCD, the P1022DS ASoC DMA driver probes on =

individual DMA

Quoted 1 line

channel nodes, so the DMA controller nodes' compatible string must be =

listed in

Quoted 8 lines

p1022_ds_ids[] to work.
=20

---
=20
This is for -next.
=20
I don't know why I forgot to include this change in the original =

P1022DS patch.

Quoted 3 lines

=20
arch/powerpc/platforms/85xx/p1022_ds.c | 2 ++

1 files changed, 2 insertions(+), 0 deletions(-)

applied to next

- k=