]> git.baikalelectronics.ru Git - kernel.git/commit
[media] mt9p031: Add support for regulators
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 8 May 2012 13:10:36 +0000 (10:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 14 Apr 2013 19:02:58 +0000 (16:02 -0300)
commitc946fd08f9e629a0f0e4fc619495a3d91ca330c6
tree499b2eb1a16e939ecc6b45a5054a888c5dcba2c9
parent9668e5d6cd6a9f5aff71ae090a062c1123a5efea
[media] mt9p031: Add support for regulators

Enable the regulators when powering the sensor up, and disable them when
powering it down.
The regulators are mandatory. Boards that don't allow controlling the
sensor power lines must provide fixed voltage regulators.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/mt9p031.c