[media] ARM mx3_camera: check for DMA engine type
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 5 Nov 2010 09:26:03 +0000 (06:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 9 Nov 2010 17:07:28 +0000 (15:07 -0200)
commita8de6635799b58b52c610da9ee390a3e900e7bc7
tree255ff8279a3d2ea746f0c8635adcf493998eb8f2
parent4f52610e290eb6bf63522b0dad886ac88c7623cd
[media] ARM mx3_camera: check for DMA engine type

We have two dma engines in MX3 systems: The IPU and the SDMA
engine. We have to check if we got a channel from the correct
engine before proceeding with a channel.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mx3_camera.c