usb: r8a66597: Fix initialization hub that using R8A66597_MAX_ROOT_HUB
authoryasuhisa umano <yasuhisa.umano.zc@renesas.com>
Fri, 18 Apr 2014 02:33:08 +0000 (11:33 +0900)
committerMarek Vasut <marex@denx.de>
Wed, 25 Jun 2014 20:31:41 +0000 (22:31 +0200)
commit8ecdce7280fff9347ba137ea7431664e1bf57534
tree62e3d0862a7e6a43ed75afd5cf33a6deea6eb5b8
parent51afc2c68cb88a10e7b7910c4c4f7c50546b0963
usb: r8a66597: Fix initialization hub that using R8A66597_MAX_ROOT_HUB

This driver is processed as two USB hub despite one.
The number of root hub is defined in R8A66597_MAX_ROOT_HUB.
This fixes that register is accessed by using the definition
of R8A66597_MAX_ROOT_HUB.

Signed-off-by: Yasuhisa Umano <yasuhisa.umano.zc@renesas.com>
drivers/usb/host/r8a66597-hcd.c