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)
commit38e58986e6fc14617f6361ec5178e5191e7ab5c1
treebb5cebee8be1dca486f0f7940f16b1978a0667de
parente901aa159dac9988c9961c31c01730effe8f5c22
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