msm: camera: icp: Cleanup firmware download routine

Reduce number of local variables and split firmware
download routine.

Change-Id: I4c9e7170b3675c1ed402b90737d52710febb1391
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
5 files changed