OSDN Git Service

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)
committerMike Lockwood <lockwood@google.com>
Tue, 15 May 2012 23:35:42 +0000 (16:35 -0700)
commit319e822875f67ed9e4bcca3213ef80b018922ae0
treea84afb3505e2e4fdea8afff62f2d207144d31ff8
parent8a2755204da8afdbefc317874087e7823ae71f42
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

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