[PATCH v3 06/12] USB: ohci-at91: change maximum number of ports

Alan Stern stern at rowland.harvard.edu
Wed Apr 4 12:07:01 EDT 2012


On Tue, 3 Apr 2012, Nicolas Ferre wrote:

> Change number of ports to 3 for newer SoCs. Modify pdata structure
> and ohci-at91 code that was dealing with ports information and check
> of port indexes.
> Several coding style errors have been addresses as the patch was touching
> affected lines of code and was producing errors while run through
> checkpatch.pl.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre at atmel.com>
> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
> v3: - address all style errors in this patch (to prevent carrying them)
>     - merge following patch about one-line ifs
> 
> v2: - use of AT91_MAX_USBH_PORTS instead of ARRAY_SIZE()
>     - modify wIndex ohci_at91_hub_control() for simpler code

This is better.  For this patch and the other ones in this series
affecting ohci-at91 and ehci-at91:

Acked-by: Alan Stern <stern at rowland.harvard.edu>




More information about the linux-arm-kernel mailing list