Felipe Balbi 5702f75375 usb: gadget: udc-core: move sysfs_notify() to a workqueue
usb_gadget_set_state() will call sysfs_notify()
which might sleep. Some users might want to call
usb_gadget_set_state() from the very IRQ handler
which actually changes the gadget state.

Instead of having every UDC driver add their own
workqueue for such a simple notification, we're
adding it generically to our struct usb_gadget,
so the details are hidden from all UDC drivers.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Felipe Balbi <balbi@ti.com>
2013-07-29 13:57:02 +03:00
..
2013-04-09 14:13:03 -04:00
2013-05-05 00:16:11 -04:00
2013-05-05 00:16:11 -04:00
2012-11-21 13:27:17 -08:00
2013-05-07 18:38:29 -07:00
2013-07-29 13:53:25 +03:00
2013-07-29 13:53:25 +03:00
2013-04-05 15:18:00 -07:00
2013-04-05 15:18:00 -07:00
2013-02-22 23:31:31 -05:00