]> git.karo-electronics.de Git - karo-tx-linux.git/commit
msi-laptop: Disable brightness control for new EC
authorMaxim Mikityanskiy <maxtram95@gmail.com>
Sat, 15 Dec 2012 17:31:30 +0000 (19:31 +0200)
committerMatthew Garrett <matthew.garrett@nebula.com>
Wed, 26 Dec 2012 15:06:33 +0000 (10:06 -0500)
commitee997fddd2c526e4c25e192807b7fce8d2315386
tree44dcc7694557fd64e378fc270bd55416c5101fbe
parent4b30c90fa2bbb9031fbf62680b4834a1b610ee33
msi-laptop: Disable brightness control for new EC

It seems that existing brightness control works only for old EC models.
On newer ones auto_brightness access always timeouts and lcd_level
always shows 0. So disable brightness control for new EC models. It
works fine with ACPI video driver anyway.

Signed-off-by: Maxim Mikityanskiy <maxtram95@gmail.com>
Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
drivers/platform/x86/msi-laptop.c