David Brownell 1f1ba11b64 usb gadget: issue notifications from ACM function
Update the CDC-ACM gadget code to support the peripheral-to-host
notifications when the tty is opened or closed, or issues a BREAK.
The serial framework code calls new generic hooks; right now only
CDC-ACM uses those hooks.  This resolves several REVISIT comments
in the code.  (Based on a patch from Felipe Balbi.)

Note that this doesn't expose USB_CDC_CAP_BRK to the host, since
this code still rejects USB_CDC_REQ_SEND_BREAK control requests
for host-to-peripheral BREAK signaling (received via /dev/ttyGS*).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-08-13 17:32:57 -07:00
..
2008-07-24 10:47:41 -07:00
2008-07-25 10:53:49 -07:00
2008-08-12 16:07:31 -07:00
2008-07-25 10:53:30 -07:00
2008-08-13 17:32:56 -07:00
2008-08-08 19:18:18 +01:00
2008-08-10 23:32:07 +02:00
2008-08-09 11:15:13 -07:00
2008-07-26 12:00:11 -07:00
2008-08-11 12:20:31 -07:00
2008-08-04 12:51:06 +09:00
2008-07-21 21:54:55 -07:00
2008-07-30 10:10:22 +01:00