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

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

 



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>

-- 
Pengutronix e.K.                           | Wolfram Sang                |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

Attachment: signature.asc
Description: Digital signature


[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