android_kernel_xiaomi_sm8350/drivers/platform/x86
Jiri Slaby 82e7784f57 toshiba_acpi: return on a fail path
Return from bt_rfkill_poll() when hci_get_radio_state() fails.

value is invalid in that case and should not be assigned to the rfkill
state.

This also fixes a double unlock bug.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: John W. Linville <linville@tuxdriver.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Len Brown <len.brown@intel.com>
2009-08-28 15:17:07 -04:00
..
acer-wmi.c acer-wmi: fix rfkill conversion 2009-07-21 15:58:54 -04:00
acerhdf.c acerhdf: Acer Aspire One fan control 2009-06-24 00:58:16 -04:00
asus_acpi.c ACPI: asus-acpi: use .notify method instead of installing handler directly 2009-06-18 00:13:15 -04:00
asus-laptop.c asus-laptop: use pr_fmt and pr_<level> 2009-06-24 01:31:38 -04:00
compal-laptop.c
dell-laptop.c dell-laptop: fix rfkill conversion 2009-06-15 15:05:58 -04:00
dell-wmi.c dell-wmi: don't generate errors on empty messages 2009-06-17 23:44:22 -04:00
eeepc-laptop.c eeepc-laptop: fix hot-unplug on resume 2009-08-02 12:35:53 -04:00
fujitsu-laptop.c
hp-wmi.c hp-wmi: check that an input device exists in resume handler 2009-07-30 17:16:05 -04:00
intel_menlow.c
Kconfig thinkpad-acpi: remove dock and bay subdrivers 2009-08-01 23:46:58 -04:00
Makefile acerhdf: Acer Aspire One fan control 2009-06-24 00:58:16 -04:00
msi-laptop.c
panasonic-laptop.c
sony-laptop.c sony: fix rfkill code again 2009-06-15 15:05:51 -04:00
tc1100-wmi.c
thinkpad_acpi.c thinkpad-acpi: fix incorrect use of TPACPI_BRGHT_MODE_ECNVRAM 2009-08-01 23:55:53 -04:00
toshiba_acpi.c toshiba_acpi: return on a fail path 2009-08-28 15:17:07 -04:00
wmi.c wmi: fix kernel panic when stack protection enabled. 2009-08-26 20:06:53 -07:00