Re: About usbmisc_imx.c at chipidea driver

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

 



On Wed, May 15, 2013 at 01:34:31PM +0300, Alexander Shishkin wrote:
> 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.

We are currently moving driver specific stuff *out* of architecture
code, so no.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
--
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