On Thu, Aug 1, 2013 at 9:03 PM, Aaron Lu <aaron.lwe@xxxxxxxxx> wrote: > On 08/02/2013 07:34 AM, Felipe Contreras wrote: >> Commit 1a7c618 (ACPI video: support _BQC/_BCL/_BCM methods that use >> index values) assumed that bl->levels were not reverted, but at this >> point they already are, so there's no need to revert them yet again. > > When acpi_video_bqc_value_to_level is called, bl->levels is not > reverted. This is the code that turns br->flags._BCL_reversed on: if (max_level == br->levels[2]) { br->flags._BCL_reversed = 1; sort(&br->levels[2], count - 2, sizeof(br->levels[2]), acpi_video_cmp_level, NULL); } Now tell me how br->flags._BCL_reversed can be on, and the br->levels *not* reverted. -- Felipe Contreras -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html