OSDN Git Service

samsung-laptop: ehance SABI support
authorCorentin Chary <corentincj@iksaif.net>
Sat, 26 Nov 2011 10:00:02 +0000 (11:00 +0100)
committerMatthew Garrett <mjg@redhat.com>
Tue, 20 Mar 2012 16:02:07 +0000 (12:02 -0400)
commit7e9607118b08bd4e1dae65d56e425e8de7f3da1c
tree7abeea849ad1851908edb94176dfda0e9f4b159e
parenta66c16627cfba7cd1da1f8bd04cab4219d09154b
samsung-laptop: ehance SABI support

* SABI command are on 16 bits, not 8
* SABI can read/write up to 11 byte of data
* There is not real difference between "get" and "set"
  commands, so refactorise the code of both functions

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/samsung-laptop.c