]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[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, 13 Jul 2011 20:18:46 +0000 (17:18 -0300)
commit2e5f79dbf36bc5d87c2a5ad4780f9e840b2ef4d8
tree28337e4a3d77266ef3169857fb06867d1df6ebfb
parent7302cce8d75ecf55e3d7f3f41a36e3a9f0def59f
[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