]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: acer-wmi: Inform firmware that RF Button Driver is active
authorChris Chiu <chiu@endlessm.com>
Wed, 8 Feb 2017 13:51:40 +0000 (07:51 -0600)
committerDarren Hart <dvhart@linux.intel.com>
Sat, 25 Feb 2017 07:48:49 +0000 (23:48 -0800)
commit0938169809ac512db9354b0465f4b2dbe1915f90
treebc4487221136edebed6dc80d25a38514533e7347
parentf0eecbbef2fa88d9b8b7af5ba40f618872488196
platform/x86: acer-wmi: Inform firmware that RF Button Driver is active

The same method to activate LM(Launch Manager) can also be used to
activate the RF Button driver with different bit toggled in the same
lm_status. To express that many functions this byte field can achieve,
rename the lm_status to app_status. And also the app_mask is the bit
mask which specifically indicate which bits are going to be changed.

This solves a problem where the AR9565 wifi included in the
Acer Aspire ES1-421 is permanently hard blocked according to the rfkill
GPIO read by ath9k.

Signed-off-by: Chris Chiu <chiu@endlessm.com>
Signed-off-by: Daniel Drake <drake@endlessm.com>
Reviewed-by: Lee, Chun-Yi <jlee@suse.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/acer-wmi.c