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

Skip to content
Commit e438c20a authored by Rajesh Bondugula's avatar Rajesh Bondugula Committed by Zvikomborero Vincent Zvikaramba
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 a2345929
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