summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/wmi-bmof.c
diff options
context:
space:
mode:
authorJoão Paulo Rechi Vita <jprvita@gmail.com>2017-06-06 13:07:22 -0700
committerDarren Hart (VMware) <dvhart@infradead.org>2017-06-13 11:00:18 -0700
commit3e2bc5c5b3274ec7402fabbfba557ea58084985e (patch)
treefbfd26bf21e7772ebf9dacba9bea302a12d0a233 /drivers/platform/x86/wmi-bmof.c
parentfeb4ec1412ab948c30dbf98cd9326825e8d49513 (diff)
downloadlinux-3e2bc5c5b3274ec7402fabbfba557ea58084985e.tar.gz
linux-3e2bc5c5b3274ec7402fabbfba557ea58084985e.tar.xz
platform/x86: acer-wmi: Detect RF Button capability
If a machine reports a RF Button in the communication button device bitmap, we need to remove it before calling Get Device Status otherwise it will return the "Undefined device" (0xE2) error code. Although this may be a BIOS bug, we don't really need to get or set the RF Button status. The status indicator LED embedded in the button is controlled by firmware logic, depending on the status of the wireless radios present on the machine (WiFi || WWAN). This commit fixes the wireless status indicator LED on the Acer TravelMate P648-G2-MG, and cleans the following message from the kernel log: "Get Current Device Status failed: 0xe2 - 0x0". Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com> Reviewed-by: "Lee, Chun-Yi" <joeyli.kernel@gmail.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/wmi-bmof.c')
0 files changed, 0 insertions, 0 deletions