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)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 21:16:06 +0000 (14:16 -0700)
commit9465534ef10e9501b4783df2fe7e1fb0433a694d
tree30c126228f329550a8d0aa4b9d005e0a71f16f8f
parentcef82c16097744576bdd2bb5c409ea57d6229f0d
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