ACPI video: support reversed _BCL method in ACPI video driver
commitd80fb99fdcd56f4934f11cc44ca016463842dc8b
authorZhang Rui <rui.zhang@intel.com>
Wed, 18 Mar 2009 08:27:14 +0000 (18 16:27 +0800)
committerLen Brown <len.brown@intel.com>
Sat, 28 Mar 2009 01:56:24 +0000 (27 21:56 -0400)
treeecc0e6c7beab6b77190353873026716685c41029
parentd32f69470c2081ffdfd82740ac19f940790f9e93
ACPI video: support reversed _BCL method in  ACPI video driver

The brightness levels returned by _BCL package are in a reversed order
on some laptops.
http://bugzilla.kernel.org/show_bug.cgi?id=12037
http://bugzilla.kernel.org/show_bug.cgi?id=12302
http://bugzilla.kernel.org/show_bug.cgi?id=12235

sort the _BCL packge in case it's reversed.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Acked-by: Matthew Garrett <mjg59@srcf.ucam.org>
Acked-by: Thomas Renninger <trenn@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/video.c