[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)
commit97f212767a4d0fbddbf4786ccedacb47fc210548
tree499b2eb1a16e939ecc6b45a5054a888c5dcba2c9
parent37b9f2117f3b4b554315b0e7b357bfabb58a0204
[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