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 <lasa...@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 <lasa...@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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to