msm: camera: icp: Fix out of bound access issue in ICP

Since number of IPE devices may change based on target, instead
of accessing memory based on number of devices, use common hardware
interface that are allocated, to avoid out of bounds access.

Change-Id: I350a2ef79f07337fd661c6f462eb41ac8229cde4
Signed-off-by: Abhilash Kumar <krabhi@codeaurora.org>
1 file changed