ACPI video: Be more liberal in validating _BQC behaviour
authorMatthew Garrett <mjg@redhat.com>
Tue, 16 Feb 2010 21:53:50 +0000 (16:53 -0500)
committerLen Brown <len.brown@intel.com>
Sun, 14 Mar 2010 20:06:37 +0000 (16:06 -0400)
commit70287db87cfc968fe78bf82a489833cc77b84352
treef4863a415e684c83bda0ea93655640a388c984fd
parentf8b55f251012e104093e105483c45c5d85ad3040
ACPI video: Be more liberal in validating _BQC behaviour

Right now, if _BQC returns a value we don't understand we immediately
invalidate it. Change this behaviour so we only invalidate it if it
continues to give an invalid answer after we've already set a brightness.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c