Re: [PATCH 3/3] musb: Remvoing twl4030 dependency for OMAP3EVM MUSB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 27 November 2008, Manikandan Pillai wrote:
>  #if defined(CONFIG_ARCH_OMAP2430)
>         omap_cfg_reg(AE5_2430_USB0HS_STP);
> +       x = otg_get_transceiver();
> +#elif defined(CONFIG_MACH_OMAP3EVM)
> +       x = kzalloc(sizeof *x, GFP_KERNEL);
> +       if (!x)
> +               return 0;
> +       x->set_host = omap3_evm_otg_set_host;
> +       x->set_peripheral = omap3_evm_otg_set_peripheral;
> +       x->set_suspend = omap3_evm_otg_set_suspend;
> +       otg_set_transceiver(x);
>  #endif

This is obviously wrong.  One does set_transceiver(),
the other does get_transceiver() ... 

It seems that some boards need some kind of basic
OTG transceiver stub.  The newish drivers/usb/otg
directory is the place to keep such stuff.

- Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux