The default code used in max9286_set_fmt() differs from other defaults. Correct it. Reported-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx> Signed-off-by: Kieran Bingham <kieran.bingham+renesas@xxxxxxxxxxxxxxxx> --- drivers/media/i2c/max9286.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/max9286.c b/drivers/media/i2c/max9286.c index 481d65f2b51d..c8ca1245df4b 100644 --- a/drivers/media/i2c/max9286.c +++ b/drivers/media/i2c/max9286.c @@ -722,7 +722,7 @@ static int max9286_set_fmt(struct v4l2_subdev *sd, case MEDIA_BUS_FMT_YVYU8_2X8: break; default: - format->format.code = MEDIA_BUS_FMT_YUYV8_2X8; + format->format.code = MEDIA_BUS_FMT_UYVY8_2X8; break; } -- 2.25.1