commit | bd30a49eab38b38e7acb86ac2ba6d3c08e740e8f | [log] [tgz] |
---|---|---|
author | Peng Fan <Peng.Fan@freescale.com> | Fri Nov 27 10:00:10 2015 +0800 |
committer | Anatolij Gustschin <agust@denx.de> | Mon Nov 30 09:18:36 2015 +0100 |
tree | 77281057a3c7fca791535702e432ec46c55b3df5 | |
parent | aae00885e2cc8a8d271a35503ac9b82dcd62b0ab [diff] |
video: ipu: fix out of bounds access We need to access reg stp_rep9, but not stp_rep[(9 - 1) / 2]. If using "__raw_writel(0, DI_STP_REP(disp, 9))", this will exceeds the size of stp_rep array. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Acked-by: Liu Ying <Ying.Liu@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Anatolij Gustschin <agust@denx.de>