[media] marvell-cam: power down mmp camera on registration failure
authorJonathan Corbet <corbet@lwn.net>
Fri, 8 Jul 2011 20:50:48 +0000 (17:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 27 Jul 2011 20:55:54 +0000 (17:55 -0300)
commit221a8248b9ca62a7304115782dca46a3f014f454
treeea8f502b56386ea083cd4dbe636c410437d0c7cc
parentc9fb8bfaf1df361e54e330956dd45e3bec72f60a
[media] marvell-cam: power down mmp camera on registration failure

If registration does not work, we don't want to leave the sensor powered on.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/marvell-ccic/mmp-driver.c