msm: camera: Fix for gpio usage in camera modules

Add valid flags for all initialized camera gpios. This
change also will protect wrong operations with gpio #0.

Change-Id: Ibb40140c9708f0d7582b643fc81ec72cdfbdbee1
Signed-off-by: Evgeniy Borisov <eborisov@codeaurora.org>
Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
Signed-off-by: Satish Kamuju <skamuj@codeaurora.org>
4 files changed