]> git.baikalelectronics.ru Git - kernel.git/commit
sony-laptop: always try to unblock rfkill on load
authorMattia Dongili <malattia@linux.it>
Sun, 12 Apr 2009 11:26:31 +0000 (11:26 +0000)
committerLen Brown <len.brown@intel.com>
Fri, 24 Apr 2009 03:57:34 +0000 (23:57 -0400)
commit002a1754bbae64bf7b1ae9b5c9417054b617ab39
tree92d21390d90df7f0146b6db017cc55a0dfff686e
parentd164f8b68264b83c0350be388ef56db1eec02cc2
sony-laptop: always try to unblock rfkill on load

This fixes an inconsistent behaviour when loading the driver with the
switch on or off. In the former case you would also need to soft unblock
the switch via the sysfs file entries to really disable rfkill, in the
latter you wouldn't.

Signed-off-by: Mattia Dongili <malattia@linux.it>
Cc: Matthias Welwarsky <matze@welwarsky.de>
Acked-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/sony-laptop.c