]> Pileus Git - ~andy/linux/commit
[media] soc-camera: Continue the power off sequence if one of the steps fails
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 18 Jul 2012 13:54:02 +0000 (10:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 15 Aug 2012 19:54:53 +0000 (16:54 -0300)
commit24592adce89805c99eb23d1e37aa8a66aaacee05
treebf178d38e2c0581a605f58a07ddb9f1c2faf5452
parent37ad4e734bbc27ad1bec2d1cc3ffaa79b1def262
[media] soc-camera: Continue the power off sequence if one of the steps fails

Powering off a device is a "best effort" task: failure to execute one of
the steps should not prevent the next steps to be executed. For
instance, an I2C communication error when putting the chip in stand-by
mode should not prevent the more agressive next step of turning the
chip's power supply off.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/soc_camera.c