[media] media: platform: pxa_camera: fix style
authorRobert Jarzmik <robert.jarzmik@free.fr>
Tue, 6 Sep 2016 09:04:24 +0000 (06:04 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Sep 2016 13:54:52 +0000 (10:54 -0300)
This is a tiny fix for a switch case which quiets 2 checkpatch harmless
warnings. The generated code is not affected.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/pxa_camera.c

index 868c6ad4784c90eebeaed08867e9cf0a08f4a0a3..c2d1ceaea49b9d99f46c09eadf1321538668cf2f 100644 (file)
@@ -1296,6 +1296,7 @@ static int pxa_camera_get_formats(struct v4l2_device *v4l2_dev,
                                "Providing format %s using code %d\n",
                                pxa_camera_formats[0].name, code.code);
                }
+       /* fall through */
        case MEDIA_BUS_FMT_VYUY8_2X8:
        case MEDIA_BUS_FMT_YUYV8_2X8:
        case MEDIA_BUS_FMT_YVYU8_2X8:
@@ -1313,6 +1314,7 @@ static int pxa_camera_get_formats(struct v4l2_device *v4l2_dev,
                        dev_dbg(pcdev_to_dev(pcdev),
                                "Providing format %s in pass-through mode\n",
                                fmt->name);
+               break;
        }
 
        /* Generic pass-through */