Date:2014-07-05 05:32:40 (6 years 1 month ago)
Author:Apelete Seketeli
Commit:76548da8de9539ed924a6d8d490003b17a5a67a8
Message:mips: jz4740: rename usb_nop_xceiv to usb_phy_generic

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>
Files: arch/mips/jz4740/platform.c (1 diff)

Change Details

arch/mips/jz4740/platform.c
5959
6060/* USB Device Controller */
6161struct platform_device jz4740_udc_xceiv_device = {
62    .name = "usb_phy_gen_xceiv",
62    .name = "usb_phy_generic",
6363    .id = 0,
6464};
6565

Archive Download the corresponding diff file



interactive