]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
usb: chipidea: msm: Initialize offset of the capability registers
authorIvan T. Ivanov <iivanov@mm-sol.com>
Sun, 4 May 2014 01:24:42 +0000 (09:24 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:18:11 +0000 (21:18 -0600)
Since commit 62bb84e (usb: gadget: ci13xxx: convert to platform device)
start address of the capability registers is not passed correctly to
udc_probe(). Fix this.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/ci_hdrc_msm.c

index 4c6ab42753e58d37f72dc5833c265c68254385fc..4935ac38fd008d17a51ed866e9fc002cddf021f5 100644 (file)
@@ -44,6 +44,7 @@ static void ci_hdrc_msm_notify_event(struct ci_hdrc *ci, unsigned event)
 
 static struct ci_hdrc_platform_data ci_hdrc_msm_platdata = {
        .name                   = "ci_hdrc_msm",
+       .capoffset              = DEF_CAPOFFSET,
        .flags                  = CI_HDRC_REGS_SHARED |
                                  CI_HDRC_REQUIRE_TRANSCEIVER |
                                  CI_HDRC_DISABLE_STREAMING,