Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d5380c70 authored by Rajesh Bondugula's avatar Rajesh Bondugula Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: sensor: Fix the improper pointer dereference



Pass flash_ctrl to msm_torch_create_classdev
instead of &flash_ctrl.
This change will fix the improper pointer
dereference issue. msm_torch_create_classdev needs
flash_ctrl pointer to retrieve torch informaiton.

Change-Id: I05bf130b2161336e93122d7e918a4c48a6b381e2
Signed-off-by: default avatarRajesh Bondugula <rajeshb@codeaurora.org>
parent 94e2ef27
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment