From: Apelete Seketeli <apelete@seketeli.net>
To: Ralf Baechle <ralf@linux-mips.org>,
Lars-Peter Clausen <lars@metafoo.de>,
John Crispin <blogic@openwrt.org>,
Paul Gortmaker <paul.gortmaker@windriver.com>,
Vinod Koul <vinod.koul@intel.com>,
linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH v2] mips: jz4740: rename usb_nop_xceiv to usb_phy_generic
Date: Sat, 5 Jul 2014 21:30:15 +0200 [thread overview]
Message-ID: <1404588615-14722-2-git-send-email-apelete@seketeli.net> (raw)
In-Reply-To: <1404588615-14722-1-git-send-email-apelete@seketeli.net>
Rename usb_nop_xceiv to usb_phy_generic in platform data to match the
name change of the nop transceiver driver in commit 4525bee (usb: phy:
rename usb_nop_xceiv to usb_phy_generic).
The name change induced a kernel panic due to an unhandled kernel
unaligned access while trying to dereference musb->xceiv->io_ops in
musb_init_controller().
Signed-off-by: Apelete Seketeli <apelete@seketeli.net>
---
arch/mips/jz4740/platform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/mips/jz4740/platform.c b/arch/mips/jz4740/platform.c
index a447101..0b12f27 100644
--- a/arch/mips/jz4740/platform.c
+++ b/arch/mips/jz4740/platform.c
@@ -59,7 +59,7 @@ struct platform_device jz4740_usb_ohci_device = {
/* USB Device Controller */
struct platform_device jz4740_udc_xceiv_device = {
- .name = "usb_phy_gen_xceiv",
+ .name = "usb_phy_generic",
.id = 0,
};
--
1.7.10.4
next prev parent reply other threads:[~2014-07-05 19:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-05 19:30 [PATCH v2] Rename NOP transceiver in JZ4740 platform data Apelete Seketeli
2014-07-05 19:30 ` Apelete Seketeli [this message]
2014-07-06 8:46 ` [PATCH v2] mips: jz4740: rename usb_nop_xceiv to usb_phy_generic Lars-Peter Clausen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1404588615-14722-2-git-send-email-apelete@seketeli.net \
--to=apelete@seketeli.net \
--cc=blogic@openwrt.org \
--cc=lars@metafoo.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@linux-mips.org \
--cc=paul.gortmaker@windriver.com \
--cc=ralf@linux-mips.org \
--cc=vinod.koul@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®