USB: gadget: f_accessory: Misc improvements and cleanup:
authorMike Lockwood <lockwood@android.com>
Thu, 10 Mar 2011 02:48:20 +0000 (21:48 -0500)
committerSteve Kondik <shade@chemlab.org>
Sat, 30 Apr 2011 08:15:02 +0000 (04:15 -0400)
commit3532c1e0696ea2a6359c70edc4a70e60a62b3110
tree8bd6fa484511469e59bc0c2bf265a47b07fe11ed
parentbfd034574b4d03ded3a3ad760b9c7df93bc230ca
USB: gadget: f_accessory: Misc improvements and cleanup:

- Add URI string

- Replace type string with a description string

- Add a control call to retrieve accessory protocol version (currently 1)

- Driver read() and write() calls now fail after USB disconnect until
  driver file is closed and reopened.

- Misc cleanup work

Signed-off-by: Mike Lockwood <lockwood@android.com>
drivers/usb/gadget/f_accessory.c
include/linux/usb/f_accessory.h