USB: gadget: Add ACCESSORY_SET_AUDIO_MODE control request and ioctl
authorMike Lockwood <lockwood@google.com>
Fri, 11 May 2012 16:00:40 +0000 (09:00 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:51:55 +0000 (13:51 -0800)
commitd7fd5f6ca93f92a0acf22c8c4224dcfd793b93f1
tree1abca2a3cb6f8dc1a975a453d06be2e1090d5e4b
parenta1e00af15eba5b6770c37e1ef4c63a232e60632d
USB: gadget: Add ACCESSORY_SET_AUDIO_MODE control request and ioctl

The control request will be used by the host to enable/disable USB audio
and the ioctl will be used by userspace to read the audio mode

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