On Mon, 27 Aug 2012, srinivas pandruvada wrote: [ ... snip ... ] > +Core driver Interface > +===================== > + > +Callback structure: > +Each processing driver can use this structure to set some callbacks. > + int (*suspend)(..): Callback when HID suspend is received > + int (*resume)(..): Callback when HID resume is received > + int (*capture_sample)(..): Capture a sample for one of its data fields > + int (*send_event)(..): One complete event is received which can have > + multiple data fields. You definitely should mention here that this callback is not allowed to sleep. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html