KVM: Maintain back mapping from irqchip/pin to gsi
[deliverable/linux.git] / include / linux / input.h
index 8b3bc3e0d1463a21a9bb8b71908d3c15dfd4dfb3..c2b1a7d244d918f9127aaf557b6127a2b12486c7 100644 (file)
@@ -1123,7 +1123,7 @@ struct input_dev {
        struct mutex mutex;
 
        unsigned int users;
-       int going_away;
+       bool going_away;
 
        struct device dev;
 
@@ -1377,6 +1377,10 @@ extern struct class input_class;
  * methods; erase() is optional. set_gain() and set_autocenter() need
  * only be implemented if driver sets up FF_GAIN and FF_AUTOCENTER
  * bits.
+ *
+ * Note that playback(), set_gain() and set_autocenter() are called with
+ * dev->event_lock spinlock held and interrupts off and thus may not
+ * sleep.
  */
 struct ff_device {
        int (*upload)(struct input_dev *dev, struct ff_effect *effect,
This page took 0.024399 seconds and 5 git commands to generate.