Эх сурвалжийг харах

[media] sh: migor: remove unused ov772x buswidth flag

The ov772x driver only supports 8 bits per sample pixel codes, hence
the OV772X_FLAG_8BIT flag has no effect. Remove it.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Guennadi Liakhovetski 14 жил өмнө
parent
commit
cb626371f8

+ 1 - 3
arch/sh/boards/mach-migor/setup.c

@@ -448,9 +448,7 @@ static struct i2c_board_info migor_i2c_camera[] = {
 	},
 	},
 };
 };
 
 
-static struct ov772x_camera_info ov7725_info = {
-	.flags		= OV772X_FLAG_8BIT,
-};
+static struct ov772x_camera_info ov7725_info;
 
 
 static struct soc_camera_link ov7725_link = {
 static struct soc_camera_link ov7725_link = {
 	.power		= ov7725_power,
 	.power		= ov7725_power,