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

Commit 67dcbd3c authored by Alok Pandey's avatar Alok Pandey Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: bug fix in IR LED driver



This commit addresses below issues
- Previous review comments given by kernel reviewers
  - Unnecessary Debug prints
  - Handling probe deferring
- Bug fix to turn off IR LED
 - To turn off IR LED, pwm_disable api is used. If duty cycle is not zero
   LED remains ON. To turn off LED, We need to configure pwm duty cycle to
   zero with valid period.
 - If user mode component does not send valid period and duty cycle, it
   initializes these two with default values.

CRs-Fixed: 1063954
Change-Id: I8ec89830fc1e489fca5dd6cee01583d5ea0ed19d
Signed-off-by: default avatarAlok Pandey <akumarpa@codeaurora.org>
parent ce9c0ba8
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