]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i2c-omap: Use I2C interface clock also on OMAP16xx CPUs
authorJarkko Nikula <jarkko.nikula@nokia.com>
Fri, 31 Mar 2006 16:18:38 +0000 (12:18 -0400)
committerJuha Yrjola <juha.yrjola@nokia.com>
Fri, 31 Mar 2006 16:18:38 +0000 (12:18 -0400)
commitfdd8a3fdf8f04e9c1bbfb1ce9285764dd13dd6ea
tree71633059735d68ba73e9fc7d843d94f333aa48fa
parent442b3a718e61ab81be942f577382866b5990b1cd
i2c-omap: Use I2C interface clock also on OMAP16xx CPUs

Create and use a virtual i2c_ick clock which prevents its parent clock
ARMPER_CK from being stopped during MPU idle whenever i2c_ick is enabled.
Otherwise we end up losing IRQs if ARMPER_CK would otherwise idle.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@nokia.com>
arch/arm/mach-omap1/clock.h
drivers/i2c/busses/i2c-omap.c