[PATCH V8 04/10] USB/ppc4xx: Add Synopsys DWC OTG HCD function
Alexander Gordeev
lasaine at lvk.cs.msu.su
Thu Jan 27 03:27:43 EST 2011
Hi,
Please consider squashing this little patch into yours. The driver
currently prints 0x00000000 as the register base. This patch will fix
that.
commit 2f850fe637101be287f116a37282b6b1a09e6a98
Author: Alexander Gordeev <lasaine at lvk.cs.msu.su>
Date: Mon Nov 29 15:15:25 2010 +0300
dwc_otg: set usb hcd resource address and length
Signed-off-by: Alexander Gordeev <lasaine at lvk.cs.msu.su>
diff --git a/drivers/usb/dwc_otg/dwc_otg_hcd.c b/drivers/usb/dwc_otg/dwc_otg_hcd.c
index 240ab0b..e420a8d 100644
--- a/drivers/usb/dwc_otg/dwc_otg_hcd.c
+++ b/drivers/usb/dwc_otg/dwc_otg_hcd.c
@@ -1269,6 +1269,8 @@ int __devinit dwc_otg_hcd_init(struct device *_dev,
}
dev_set_drvdata(_dev, dwc_otg_device);
hcd->regs = otg_dev->base;
+ hcd->rsrc_start = otg_dev->phys_addr;
+ hcd->rsrc_len = otg_dev->base_len;
hcd->self.otg_port = 1;
/* Initialize the DWC OTG HCD. */
--
Alexander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20110126/6800c8b0/attachment.pgp>
More information about the Linuxppc-dev
mailing list