android_kernel_xiaomi_sm8350/net/rfkill
Henrique de Moraes Holschuh 6e28fbef0f rfkill: query EV_SW states when rfkill-input (re)?connects to a input device
Every time a new input device that is capable of one of the
rfkill EV_SW events (currently only SW_RFKILL_ALL) is connected to
rfkill-input, we must check the states of the input EV_SW switches
and take action.  Otherwise, we will ignore the initial switch state.

We also need to re-check the states of the EV_SW switches after
a device that was under an exclusive grab is released back to us,
since we got no input events from that device while it was grabbed.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-08-01 15:31:32 -04:00
..
Kconfig
Makefile
rfkill-input.c rfkill: query EV_SW states when rfkill-input (re)?connects to a input device 2008-08-01 15:31:32 -04:00
rfkill-input.h rfkill: do not allow userspace to override ALL RADIOS OFF 2008-06-26 14:21:22 -04:00
rfkill.c rfkill: yet more minor kernel-doc fixes 2008-07-29 16:55:03 -04:00