Thread (3 messages) 3 messages, 2 authors, 2012-11-27

[PATCH] Input: Document no-sleep requirement for playback() callback

From: Mark Brown <hidden>
Date: 2012-11-27 06:32:18
Subsystem: input (keyboard, mouse, joystick, touchscreen) drivers, the rest · Maintainers: Dmitry Torokhov, Linus Torvalds

Avoids surprising users.

Signed-off-by: Mark Brown <redacted>
---
 include/linux/input.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/linux/input.h b/include/linux/input.h
index 82ce323..0ba0de1 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -475,7 +475,8 @@ extern struct class input_class;
  * struct ff_device - force-feedback part of an input device
  * @upload: Called to upload an new effect into device
  * @erase: Called to erase an effect from device
- * @playback: Called to request device to start playing specified effect
+ * @playback: Called to request device to start playing specified effect.
+ *            Must not sleep.
  * @set_gain: Called to set specified gain
  * @set_autocenter: Called to auto-center device
  * @destroy: called by input core when parent input device is being
-- 
1.7.10.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help