]> rtime.felk.cvut.cz Git - linux-imx.git/blobdiff - drivers/acpi/video.c
ACPI / video: improve quirk check in acpi_video_bqc_quirk()
[linux-imx.git] / drivers / acpi / video.c
index 0ec434d2586da29d65003aed0b7d9c7dd244944e..e1284b8dc6eef9b800f997ecbf6bc5e60214eacc 100644 (file)
@@ -689,7 +689,7 @@ static int acpi_video_bqc_quirk(struct acpi_video_device *device,
         * Some systems always report current brightness level as maximum
         * through _BQC, we need to test another value for them.
         */
-       test_level = current_level == max_level ? br->levels[2] : max_level;
+       test_level = current_level == max_level ? br->levels[3] : max_level;
 
        result = acpi_video_device_lcd_set_level(device, test_level);
        if (result)