Peter Chen <peter.c...@freescale.com> writes:

> Hi Michael & Marc,
>
> Recently, I have worked at i.mx USB loadable module support for  chipidea 
> driver,
> it needs to write non-core register during the ci13xxx_imx remove process,
> but currently, the usbmisc_imx is a driver, and it uses symbol from
> ci13xxx_imx, so it will be unload first.

One driver really shouldn't be using symbols from another driver, we
should fix that first.

> How about I make usbmisc_imx as lib, and using DT entries from ci13xxx_imx?
> In fact, if we need support full feature usb functions, it needs touch
> non-core register from time to time, eg disable/enable wakeup during
> runtime-pm.

Can we move usbmisc_imx code to the imx platform pm code or something? I
suspect it's only needed during probe/remove time or power state
transitions.

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

Reply via email to