ARM: davinci: Explicitly set channel controllers' default queues
authorIdo Yariv <ido@wizery.com>
Sun, 10 Jul 2011 13:14:35 +0000 (16:14 +0300)
committerSekhar Nori <nsekhar@ti.com>
Sat, 17 Sep 2011 10:24:08 +0000 (15:54 +0530)
commitf23fe857bbea393b4b94fe2218c98d934bd3d4cf
tree39661f5a8db2b71a3efcd4dd19c5133462de87f4
parentb6fd41e29dea9c6753b1843a77e50433e6123bcb
ARM: davinci: Explicitly set channel controllers' default queues

Davinci platforms may define a default queue for each channel
controller. If one is not defined, the default queue is set to EVENTQ_1.
However, there's no way to distinguish between an unset default queue to
one that is set to EVENTQ_0, as EVENTQ_0 = 0.

Explicitly specify the default queue for all channel controllers on all
Davinci platforms to EVENTQ_1, and don't overwrite it in the EDMA probe
function.

One exception is the DA850 board, for which EVENTQ_1 is not a valid
option for its second channel controller. Use EVENTQ_0 instead for that
channel controller.

Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/devices-da8xx.c
arch/arm/mach-davinci/devices-tnetv107x.c
arch/arm/mach-davinci/dm355.c
arch/arm/mach-davinci/dm644x.c
arch/arm/mach-davinci/dm646x.c
arch/arm/mach-davinci/dma.c