]> git.baikalelectronics.ru Git - kernel.git/commit
USB: ohci-at91: change maximum number of ports
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 21 Mar 2012 15:53:09 +0000 (16:53 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 4 Apr 2012 16:35:24 +0000 (18:35 +0200)
commit1f53ddab0054d94933ee9e3743312fb21f5ab869
treece65181e1108fa69708dcf4ac85617d308e92d7d
parenta0f9a76886b4ad2ad7ffd9a2e8dad89a7765af43
USB: ohci-at91: change maximum number of ports

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@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
arch/arm/mach-at91/include/mach/board.h
drivers/usb/host/ohci-at91.c