summaryrefslogtreecommitdiff
path: root/drivers/usb/host/bcma-hcd.c
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-09-09 00:53:35 +0400
committerJohn W. Linville <linville@tuxdriver.com>2014-09-09 23:33:05 +0400
commit23a2f39c8f4035eade7f226eb7ada30c78d9eee3 (patch)
tree596091221f4e5ceb4b493b340d0b30bc997474ae /drivers/usb/host/bcma-hcd.c
parent367b341edbebc405d80fecd28ff973dfb7390d65 (diff)
downloadlinux-23a2f39c8f4035eade7f226eb7ada30c78d9eee3.tar.xz
bcma: store more alternative addresses
Each core could have more than one alternative address. There are cores with 8 alternative addresses for different functions. The PHY control in the Chip common B core is done through the 2. alternative address and not the first one. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> CC: linux-usb@vger.kernel.org Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/usb/host/bcma-hcd.c')
-rw-r--r--drivers/usb/host/bcma-hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/bcma-hcd.c b/drivers/usb/host/bcma-hcd.c
index 205f4a336583..cd6d0afb6b8f 100644
--- a/drivers/usb/host/bcma-hcd.c
+++ b/drivers/usb/host/bcma-hcd.c
@@ -237,7 +237,7 @@ static int bcma_hcd_probe(struct bcma_device *dev)
bcma_hcd_init_chip(dev);
/* In AI chips EHCI is addrspace 0, OHCI is 1 */
- ohci_addr = dev->addr1;
+ ohci_addr = dev->addr_s[0];
if ((chipinfo->id == 0x5357 || chipinfo->id == 0x4749)
&& chipinfo->rev == 0)
ohci_addr = 0x18009000;