]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: udc: atmel: don't disable enpdoints we don't own
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 21 Mar 2016 07:04:23 +0000 (09:04 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 29 Mar 2016 06:30:31 +0000 (09:30 +0300)
commit909faccaf3144a66a1cd56f68cc787614477abbf
treebb5cebee8be1dca486f0f7940f16b1978a0667de
parent9ffc647f5acd2ce56e0854982e66297643c1b3b4
usb: gadget: udc: atmel: don't disable enpdoints we don't own

UDC driver should NEVER do anything behind
udc-core's back, so let's stop disabling endpoints
we don't exactly own - rather we provide as
resources for gadget drivers. This fixes the
regression reported by Gil.

Reported-by: Gil Weber <gil.weber@servelec-technologies.com>
Tested-by: Gil Weber <gil.weber@servelec-technologies.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/atmel_usba_udc.c