V4L/DVB (8610): Add suspend/resume capabilities to soc_camera.
authorRobert Jarzmik <robert.jarzmik@free.fr>
Fri, 1 Aug 2008 23:14:50 +0000 (20:14 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 6 Aug 2008 09:57:32 +0000 (06:57 -0300)
commit2e521061db61a35dd64ea85a1642f9a9dfde2872
tree30fb02b0f57d19c566e6439ec3599613402727fd
parent01c1e4ca8ec39d21be0cd9d1b300d479de97298a
V4L/DVB (8610): Add suspend/resume capabilities to soc_camera.

Add suspend/resume hooks to call soc operation specific
suspend and resume functions. This ensures the camera
chip has been previously resumed, as well as the camera
bus.
These hooks in camera chip drivers should save/restore
chip context between suspend and resume time.

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/soc_camera.c
include/media/soc_camera.h