diff options
author | Yifeng Li <[email protected]> | 2019-04-01 17:46:58 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2019-04-01 17:46:58 +0200 |
commit | 5481115e25e42b9215f2619452aa99c95f08492f (patch) | |
tree | 0c002b3d270244d880ffc27b1fde8459bfa02786 /scripts/gdb/linux/symbols.py | |
parent | 8069053880e0ee3a75fd6d7e0a30293265fe3de4 (diff) |
fbdev: sm712fb: fix brightness control on reboot, don't set SR30
On a Thinkpad s30 (Pentium III / i440MX, Lynx3DM), rebooting with
sm712fb framebuffer driver would cause the role of brightness up/down
button to swap.
Experiments showed the FPR30 register caused this behavior. Moreover,
even if this register don't have side-effect on other systems, over-
writing it is also highly questionable, since it was originally
configurated by the motherboard manufacturer by hardwiring pull-down
resistors to indicate the type of LCD panel. We should not mess with
it.
Stop writing to the SR30 (a.k.a FPR30) register.
Signed-off-by: Yifeng Li <[email protected]>
Tested-by: Sudip Mukherjee <[email protected]>
Cc: Teddy Wang <[email protected]>
Cc: <[email protected]> # v4.4+
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions