summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-11-12 01:29:51 -0800
committerYe Li <ye.li@nxp.com>2018-11-12 20:09:51 -0800
commit3553a99cc49bd51b85eef9bf1526677c3ccab92b (patch)
treef61e92938bcca5e37c6c3550975af82936215361 /drivers
parentfe324483b48c0e6f70e34055545da408216acefb (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.c1
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;
}