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>
This commit is contained in:
parent
fe324483b4
commit
3553a99cc4
|
|
@ -56,6 +56,7 @@ static void pxp_set_ctrl(struct pxp_config_data *pxp_conf)
|
||||||
case FMT_YUYV:
|
case FMT_YUYV:
|
||||||
fmt_ctrl = BV_PXP_PS_CTRL_FORMAT__UYVY1P422;
|
fmt_ctrl = BV_PXP_PS_CTRL_FORMAT__UYVY1P422;
|
||||||
need_swap = 1;
|
need_swap = 1;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
fmt_ctrl = 0;
|
fmt_ctrl = 0;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue