Mauro Carvalho Chehab <[email protected]> writes: > From: Robert Jarzmik <[email protected]> > > In the soc_camera removal, the board specific power callback was > dropped. This at least will remove the power optimization from ezx and > em-x270 pxa based boards. > > As to recreate the same level of functionality, make the mt9m111 have a > regulator providing it its power, so that board designers can plug in a > gpio based or ldo regulator, mimicking their former soc_camera power > hook. > > Fixes: 5c10113cc668 ("media: mt9m111: make a standalone v4l2 subdevice") > > [[email protected]: check return values for regulator_enable and > fix a build warning] > Signed-off-by: Robert Jarzmik <[email protected]> > Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Tested-by: Robert Jarzmik <[email protected]> (on mioa701, pxa architecture, platform data based, on top of 5.0-rc1) Cheers. -- Robert
