Re: About usbmisc_imx.c at chipidea driver

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

 



Peter Chen <peter.chen@xxxxxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux