msm: camera: Fix improper memory free in failure case
Remove improper drv_priv free in failure case and
add NULL pointer check to avoid kernel panic
Change-Id: If074eba245e93bf8fead505993a2611582e4398d
Signed-off-by:
Yiduo Wang <yiduow@codeaurora.org>
Loading
Please register or sign in to comment