]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: samsung-laptop: fix brightness level and add new device ids
authorNils Faerber <nils.faerber@kernelconcepts.de>
Sat, 26 Feb 2011 22:45:42 +0000 (23:45 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Sun, 27 Feb 2011 15:24:10 +0000 (07:24 -0800)
commit2458704e5566ce6a0889f31f38d11b38b81ba9d8
treee7a11f5c4915c32f3946f6ca7d545f8a3784fc75
parent88acbcae857e35633a05737bbc18ae3f7993e5de
Staging: samsung-laptop: fix brightness level and add new device ids

The patch is against the 2.6.37 drivers/staging/samsung-laptop
driver and implements some extra enhancements.

It fixes an issue that the brightness would not change the level at
once as well as and some other oddities. It was resolved by
reallocated the SABI memory reagion using the "nocache" option.

The patch also introduces a new set of supported netbook models,
especially the NC10plus which was used for testing this patch. This new
set of models also offer 9 instead of just 8 brightness levels so it
also introduces an additional parameter for the models struct so that
models can define their own brightness range.

Signed-off-by: Nils Faerber <nils.faerber@kernelconcepts.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/samsung-laptop/samsung-laptop.c