Skip to content
Commit ce646f74 authored by Dave Stevenson's avatar Dave Stevenson Committed by Phil Elwell
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 b7c3c9ab
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment