Skip to content
Snippets Groups Projects
Commit cd8f09d9 authored by Peng Fan's avatar Peng Fan Committed by Stefano Babic
Browse files

video: ipu: simplify if else code


Simplify if/else code, since if channel equals to MEM_BG_SYNC or
MEM_FG_SYNC, we have value 5 for 'dc_chan'.

Signed-off-by: default avatarPeng Fan <Peng.Fan@freescale.com>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: default avatarStefano Babic <sbabic@denx.de>
parent 01a8cf91
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment