diff options
author | Uwe Kleine-König <[email protected]> | 2020-03-23 22:16:26 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2020-04-17 15:50:07 +0200 |
commit | 5c694f8094e44f227937540f6a5e93e747c34098 (patch) | |
tree | 95eeee1dbbd109a0826163aea6a0311e2b79c8a6 /scripts/gdb/linux/proc.py | |
parent | 04dff10ffb55ceb9480431b2398f8300a1aa327f (diff) |
video: fbdev: imxfb: ensure balanced regulator usage
The fbdev framework doesn't care to call the .set_power callback only on
changes. So the driver has to care for itself that the regulator doesn't
get disabled more often than enabled.
This fixes the regulator warning
unbalanced disables for lcd supply
which can be triggered by doing
echo 4 > /sys/class/lcd/imxfb-lcd/lcd_power
twice.
Signed-off-by: Uwe Kleine-König <[email protected]>
Cc: Sascha Hauer <[email protected]>
Cc: Pengutronix Kernel Team <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: NXP Linux Team <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions