]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
MIPS: Jz4740: Rename usb_nop_xceiv to usb_phy_generic
authorApelete Seketeli <apelete@seketeli.net>
Sat, 5 Jul 2014 19:30:15 +0000 (21:30 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 1 Aug 2014 16:37:42 +0000 (18:37 +0200)
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>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: John Crispin <blogic@openwrt.org>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/7263/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/jz4740/platform.c

index a447101cf9f1143c3972aab257cf33522539fbb3..0b12f273cb2e7db26fc8477f80bafe42508c141c 100644 (file)
@@ -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,
 };