commit | cd8f09d9d7a856bc47d09c3efa758e58e443ded9 | [log] [tgz] |
---|---|---|
author | Peng Fan <Peng.Fan@freescale.com> | Tue Nov 24 16:54:23 2015 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Wed Nov 25 09:52:18 2015 +0100 |
tree | 110d26eb991130f4f3464196c0ea93895ccb3b76 | |
parent | 01a8cf91513981d05bf89840d768e9c060ee998b [diff] |
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: Peng Fan <Peng.Fan@freescale.com> Cc: Anatolij Gustschin <agust@denx.de> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: Stefano Babic <sbabic@denx.de>