diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-05-19 09:03:17 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-05-19 09:03:32 -0300 |
commit | d0994fe9ba22895e56b943ff3f03f2b39fcaa397 (patch) | |
tree | 4b585a3002782217973d618ec7c5fc8bd584bb96 /drivers/media/platform/soc_camera/soc_mediabus.c | |
parent | 9ca3ae0d5e46a48b7eaf4afcdc68887e32692c17 (diff) |
[media] soc_camera: annotate a switch fall through
Clearly, hsync and vsinc bool vars are part of the return
logic on the second case of the switch. Annotate that, in
order to shut up gcc warnings.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform/soc_camera/soc_mediabus.c')
-rw-r--r-- | drivers/media/platform/soc_camera/soc_mediabus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/soc_camera/soc_mediabus.c b/drivers/media/platform/soc_camera/soc_mediabus.c index e3e665e1c503..57581f626f4c 100644 --- a/drivers/media/platform/soc_camera/soc_mediabus.c +++ b/drivers/media/platform/soc_camera/soc_mediabus.c @@ -494,6 +494,7 @@ unsigned int soc_mbus_config_compatible(const struct v4l2_mbus_config *cfg, V4L2_MBUS_HSYNC_ACTIVE_LOW); vsync = common_flags & (V4L2_MBUS_VSYNC_ACTIVE_HIGH | V4L2_MBUS_VSYNC_ACTIVE_LOW); + /* fall through */ case V4L2_MBUS_BT656: pclk = common_flags & (V4L2_MBUS_PCLK_SAMPLE_RISING | V4L2_MBUS_PCLK_SAMPLE_FALLING); |