platform/x86: thinkpad_acpi: Disable Bluetooth for some machines
authorJiaxun Yang <jiaxun.yang@flygoat.com>
Thu, 7 Mar 2019 09:37:16 +0000 (17:37 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 May 2019 17:41:17 +0000 (19:41 +0200)
commit381eaca5017f728ec3313f46df056c715b301aa3
tree8ae724593b70588cb265a789fda7ab210a5ba319
parentefe6802e812bbe056bdcaf8fa7b8f8565c4253ca
platform/x86: thinkpad_acpi: Disable Bluetooth for some machines

commit f7db839fccf087664e5587966220821289b6a9cb upstream.

Some AMD based ThinkPads have a firmware bug that calling
"GBDC" will cause Bluetooth on Intel wireless cards blocked.

Probe these models by DMI match and disable Bluetooth subdriver
if specified Intel wireless card exist.

Cc: stable <stable@vger.kernel.org> # 4.14+
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/platform/x86/thinkpad_acpi.c