Re: [PATCH linux-next v2 1/1] usb: gadget: udc: atmel: Update endpoint allocation scheme

From: Felipe Balbi
Date: Fri Jan 27 2017 - 08:29:41 EST


Nicolas Ferre <nicolas.ferre@xxxxxxxxx> writes:

> Le 23/01/2017 Ã 15:45, cristian.birsan@xxxxxxxxxxxxx a Ãcrit :
>> From: Cristian Birsan <cristian.birsan@xxxxxxxxxxxxx>
>>
>> Update atmel udc driver with a new enpoint allocation scheme. The data
>> sheet requires that all endpoints are allocated in order.
>
> Pieces of information from the cover letter could have been added here.

yup, that's what I did:

commit 741d2558bf0aa8da9c0834ad43e1b9a1b16aa515
Author: Cristian Birsan <cristian.birsan@xxxxxxxxxxxxx>
Date: Mon Jan 23 16:45:59 2017 +0200

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@xxxxxxxxxxxxx>
Signed-off-by: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx>

But seems like we will need a fixup patch during v4.11-rc?

--
balbi

Attachment: signature.asc
Description: PGP signature