diff options
| author | Danny Baumann <[email protected]> | 2013-03-19 16:22:52 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2013-03-25 00:26:55 +0100 |
| commit | 994fa63c5b126df6e9f31ef4e09000e2e243234b (patch) | |
| tree | b6214bc68418cae8935248c4d997318702c98daf /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | 2d4128a25206685aaccaf14220c8436b11c6dc01 (diff) | |
ACPI / video: Fix applying indexed initial brightness value.
The value initially read via _BQC also needs to be offset by 2 to
compensate for the first 2 special items in _BCL. Introduce a helper
function that does the BQC-value-to-level conversion in order to not
needlessly duplicate code.
Signed-off-by: Danny Baumann <[email protected]>
Reviewed-by: Aaron Lu <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions