> This patch removes the phytec specific setting of the bus width
> and switches to the more generic query_bus_param/set_bus_param
> hooks
>
> Signed-off-by: Sascha Hauer <[email protected]>
> ---
> drivers/media/video/Kconfig | 7 ---
> drivers/media/video/mt9v022.c | 97
> +++++------------------------------------
> 2 files changed, 11 insertions(+), 93 deletions(-)
>
> diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig
> index 5fc1531..071d66f 100644
> --- a/drivers/media/video/Kconfig
> +++ b/drivers/media/video/Kconfig
> @@ -729,6 +664,7 @@ static int mt9v022_video_probe(struct
> soc_camera_device *icd)
> /* Set monochrome or colour sensor type */
> if (sensor_type && (!strcmp("colour", sensor_type) ||
> !strcmp("color", sensor_type))) {
> + if (1) {
> ret = reg_write(icd, MT9V022_PIXEL_OPERATION_MODE, 4 | 0x11);
> mt9v022->model = V4L2_IDENT_MT9V022IX7ATC;
> icd->formats = mt9v022_colour_formats;
'if (1) {': some left-over debugging?
Regards,
Hans
--
Hans Verkuil - video4linux developer - sponsored by TANDBERG
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html