Re: v4l2-subdev Re: [PATCH 0/5] soc-camera: convert to platform device

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

 



On Mon, 20 Apr 2009, Mark Brown wrote:

> On Mon, Apr 20, 2009 at 03:50:44PM +0200, Guennadi Liakhovetski wrote:
> 
> > break if we move it down right after i2c? Another hackish interim solution 
> > would be to replace module_init with subsys_init in i2c-sh_mobile.c like 
> > some other i2c adapters do (including MXC, PXA). That's certainly easier, 
> > but then we'd also have to modify i2c-imx, later maybe i2c-at91.c...
> 
> That'd be sensible long term anyway - voltage and current regulators are
> often I2C devices and they need to be initialised very early in order to
> be available for general use.

If there are other requirements to have i2c initialise early we can well 
move it up the chain. I think it would be preferable to modifying each i2c 
host adapter driver to use subsys_init().

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux