From: Jarkko Nikula Date: Wed, 1 Mar 2006 11:57:44 +0000 (+0200) Subject: i2c-omap: Use dynamic clocking also on OMAP1 CPUs X-Git-Tag: v2.6.16-omap1~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3b07c78baca82328dd2820733dbc55500b6e35e;p=pandora-kernel.git i2c-omap: Use dynamic clocking also on OMAP1 CPUs This patch will fix the i2c-omap "controller timed out" error on OMAP1710 (most probably will apply to 1510 as well). Error happens randomly if dyn_tick is activated (CONFIG_NO_IDLE_HZ=y) and reason was that ARMXOR_CK clock domain was stopped during MPU idle. Patch basically creates and uses virtual i2c_fck clock domain which prevents that its parent ARMXOR_CK is not stopped during MPU idle whenever i2c_fck is enabled. Patch also makes i2c-omap implementation between 24xx and OMAP1 more consistent with the clock usage and fixes two minor bugs. Signed-off-by: Jarkko Nikula Signed-off-by: Juha Yrjölä --- Reading git-diff-tree failed