commit | 63bbd9f8d47ff7e17d2092cc913695d386f3521e | [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 | ffb8959086b662d0304f0e76dd14cf882f0533f6 [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>