msm: camera: Add pinctrl_init in flash probe.
In cases where flash release is called without flash init.
Device crashes due to NULL pointer access of pinctrl variables,
which are initialised in flash init.
Add pinctrl_init as part of flash probe instead
of flash init.
CRs-Fixed: 648892
Change-Id: If06821a82c97f7379198aac474545eba1b4247bd
Signed-off-by:
Vivek Veenam <vveenam@codeaurora.org>
Loading
Please sign in to comment