Mauro Carvalho Chehab <mchehab+sams...@kernel.org> writes:

> From: Robert Jarzmik <robert.jarz...@free.fr>
>
> 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")
>
> [mchehab+sams...@kernel.org: check return values for regulator_enable and
>  fix a build warning]
> Signed-off-by: Robert Jarzmik <robert.jarz...@free.fr>
> Signed-off-by: Mauro Carvalho Chehab <mchehab+sams...@kernel.org>

Tested-by: Robert Jarzmik <robert.jarz...@free.fr>
(on mioa701, pxa architecture, platform data based, on top of 5.0-rc1)

Cheers.

--
Robert

Reply via email to