diff options
author | Ye Li <ye.li@nxp.com> | 2018-11-12 01:29:51 -0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2018-11-12 20:09:51 -0800 |
commit | 3553a99cc49bd51b85eef9bf1526677c3ccab92b (patch) | |
tree | f61e92938bcca5e37c6c3550975af82936215361 /drivers | |
parent | fe324483b48c0e6f70e34055545da408216acefb (diff) |
MLK-20240-4 pxp: Fix missing break in switch
Fix coverity issue CID 3411367: Missing break in switch (MISSING_BREAK)
unterminated_case: The case for value 1U is not terminated by a 'break' statement.
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/mxc_pxp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/mxc_pxp.c b/drivers/video/mxc_pxp.c index ea548101d6..c044626876 100644 --- a/drivers/video/mxc_pxp.c +++ b/drivers/video/mxc_pxp.c @@ -56,6 +56,7 @@ static void pxp_set_ctrl(struct pxp_config_data *pxp_conf) case FMT_YUYV: fmt_ctrl = BV_PXP_PS_CTRL_FORMAT__UYVY1P422; need_swap = 1; + break; default: fmt_ctrl = 0; } |