diff options
author | Egbert Eich <eich@freedesktop.org> | 2009-10-19 17:36:16 +0200 |
---|---|---|
committer | Egbert Eich <eich@freedesktop.org> | 2009-10-19 17:36:16 +0200 |
commit | a838114e998a779ce64b894bf8cc34f93647c001 (patch) | |
tree | 4535eb200ba89eb3b36264b37a81bd9ce55942bc | |
parent | eef20d73e0527acd00b49c893e406b8e986899a9 (diff) |
Fix backlight readout thru AtomBIOS.
The correct value was not read out as 'Set' was called instead of 'Get'.
-rw-r--r-- | src/rhd_atomout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rhd_atomout.c b/src/rhd_atomout.c index 9d50ade..5f3db26 100644 --- a/src/rhd_atomout.c +++ b/src/rhd_atomout.c @@ -582,7 +582,7 @@ atomGetBacklight(struct rhdOutput *Output) if (Private->BlLevel == -1) return -1; - RHDAtomBIOSScratchBlLevel(rhdPtr, rhdBIOSScratchBlSet, &level); + RHDAtomBIOSScratchBlLevel(rhdPtr, rhdBIOSScratchBlGet, &level); return level; } |