summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/udc/fsl_udc_core.c
diff options
context:
space:
mode:
authorCristian Birsan <cristian.birsan@microchip.com>2017-01-23 16:45:59 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-01-24 11:04:24 +0200
commit741d2558bf0aa8da9c0834ad43e1b9a1b16aa515 (patch)
treeace7afcd11d93a35e7cfe50c30dbbc672446a910 /drivers/usb/gadget/udc/fsl_udc_core.c
parent41dc9ac163e76718d445a8149f8ce635375c8c38 (diff)
usb: gadget: udc: atmel: Update endpoint allocation scheme
This patch updates the usb endpoint allocation scheme for atmel usba driver to make sure all endpoints are allocated in order. This requirement comes from the datasheet of the controller. The allocation scheme is decided by fifo_mode parameter. For fifo_mode = 0 the driver tries to autoconfigure the endpoints fifo size. All other modes contain fixed configurations optimized for different purposes. The idea is somehow similar with the approach used on musb driver. Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/gadget/udc/fsl_udc_core.c')
0 files changed, 0 insertions, 0 deletions