Skip to content
Commit 21cd7d57 authored by Dave Stevenson's avatar Dave Stevenson Committed by Dom Cobley
Browse files

regulator: rpi-panel: Remove get_brightness hook



The driver was implementing a get_brightness function that
tried to read back the PWM setting of the display to report
as the current brightness.
The controller on the display does not support that, therefore
we end up reporting a brightness of 0, and that confuses
systemd's backlight service.

Remove the hook so that the framework returns the current
brightness automatically.

Signed-off-by: default avatarDave Stevenson <dave.stevenson@raspberrypi.com>
parent 365feb42
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