msm: camera_v2: handle the error value returned during get clock.

currently only NULL pointer check is used to validate the return
value from clk_get, this change to handle all the failures.

Issue: SEC-2016
Change-Id: Icd8b7e33d0f235a7c5dde2307972a594908e6a60
Signed-off-by: Srikanth Uyyala <suyyala@codeaurora.org>
(cherry picked from commit 875c65231564aa48662049efafd03a57a1a6cd4b)
1 file changed