summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2015-02-11 05:44:41 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-18 16:19:08 +0100
commitd5d1e1bed4da02bd7a2352ab495721e31a7d95e4 (patch)
tree45ef387ea924d329c4ae701de0fc8369a811607f /drivers/i2c
parentLinux 4.0-rc3 (diff)
downloadlinux-d5d1e1bed4da02bd7a2352ab495721e31a7d95e4.tar.xz
linux-d5d1e1bed4da02bd7a2352ab495721e31a7d95e4.zip
usb: chipidea: udc: return immediately if re-enable non-empty endpoint
Some gadget driver (like uac1) will try to enable endpoint again even the ep is not empty, it will cause the ep reset again and may affect the dTD list which has already queued. It returns -EBUSY immediately, and indicate the endpoint is in use. In this way, the ep's behavior will not be affected, and the gadget driver is also notified. Cc: Xuebing Wang <xbing6@gmail.com> Signed-off-by: Peter Chen <peter.chen@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions