mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
pwm-backlight: Track enable state
Follow up patches will add support for more complex means of powering the backlight on and off such as using a regulator. To prevent calls to the regulator API from becoming unbalanced, keep track of the enabled state internally. Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
62b744a87c
commit
97c3843711
1 changed files with 11 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue