RE: [PATCH] drivers: i2c-gpio: move initialization code subsys_initcall()

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

 



Hello,

On Thursday, April 01, 2010 4:30 PM Jean Delvare wrote:

> On Thu, 1 Apr 2010 15:49:18 +0200, Wolfram Sang wrote:
> > On Thu, Apr 01, 2010 at 03:43:19PM +0200, Marek Szyprowski wrote:
> > > GPIO driven I2C bus can be used for controlling the PMIC chip. The example
> > > of such configuration is Samsung Aquila board.
> > >
> > > This patch moves initialization code subsys_initcall() to ensure that the i2c
> > > bus is available early so the regulators can be quicly probed and available for
> >
> > Minor: quickly
> >
> > > other devices on their probe() call.
> > >
> > > Such solution has been proposed by Mark Brown to fix the problem of the
> > > regulators not beeing available on the peripheral device probe():
> > > http://lists.infradead.org/pipermail/linux-arm-kernel/2010-March/011971.html
> > >
> > > CC: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> > > Reviewed-by: Kyungmin Park <kyungmin.park@xxxxxxxxxxx>
> > > Signed-off-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
> >
> > Yup, a number of drivers do this:
> >
> > Acked-by: Wolfram Sang <w.sang@xxxxxxxxxxxxxx>
> 
> Applied, thanks. Is it desirable to have this patch in 2.6.34, or is
> 2.6.35 enough?

2.6.35 would be enough. Thanks :)

Best regards
--
Marek Szyprowski
Samsung Poland R&D Center

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

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux