V4L/DVB (8611): Add suspend/resume to pxa_camera driver
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 2 Aug 2008 10:10:04 +0000 (07:10 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 6 Aug 2008 09:57:33 +0000 (06:57 -0300)
commit3f6ac497b036533d1a63ba04fdbe710c55e14cda
treee00c267fb51557e97a84520297cded262d1d6898
parent2e521061db61a35dd64ea85a1642f9a9dfde2872
V4L/DVB (8611): Add suspend/resume to pxa_camera driver

PXA suspend switches off DMA core, which loses all context
of previously assigned descriptors. As pxa_camera driver
relies on DMA transfers, setup the lost descriptors on
resume and retrigger frame acquisition if needed.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pxa_camera.c