aboutsummaryrefslogtreecommitdiffstats
path: root/net/rfkill/rfkill.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rfkill/rfkill.c')
-rw-r--r--net/rfkill/rfkill.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/rfkill/rfkill.c b/net/rfkill/rfkill.c
index 7a560b785097..022fe50ab0e0 100644
--- a/net/rfkill/rfkill.c
+++ b/net/rfkill/rfkill.c
@@ -252,7 +252,12 @@ EXPORT_SYMBOL_GPL(rfkill_epo);
252 * a notification by the firmware/hardware of the current *real* 252 * a notification by the firmware/hardware of the current *real*
253 * state of the radio rfkill switch. 253 * state of the radio rfkill switch.
254 * 254 *
255 * It may not be called from an atomic context. 255 * Devices which are subject to external changes on their rfkill
256 * state (such as those caused by a hardware rfkill line) MUST
257 * have their driver arrange to call rfkill_force_state() as soon
258 * as possible after such a change.
259 *
260 * This function may not be called from an atomic context.
256 */ 261 */
257int rfkill_force_state(struct rfkill *rfkill, enum rfkill_state state) 262int rfkill_force_state(struct rfkill *rfkill, enum rfkill_state state)
258{ 263{