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

From: Alan Stern
Date: Wed Apr 04 2012 - 12:07:03 EST


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@xxxxxxxxx>
> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/