From: Arnaud Patard (Rtp) Date: Thu, 15 Jul 2010 13:06:14 +0000 (+0200) Subject: i2c-s3c2410: Enable i2c clock only when doing some transfert X-Git-Tag: v2.6.37-rc1~29^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2360b8e845ce0e142e72697a504ee9372421dc3;p=pandora-kernel.git i2c-s3c2410: Enable i2c clock only when doing some transfert This patch modify the s3c2410 i2c driver behaviour to enable the i2c clock only when needed. I'm not sure if this has a big impact on power usage but at least it's fixing a bug with the uda1380 codec which needs to be hard reset'ed if the i2c clock is enabled before it's powered on (at least on h1940). Signed-off-by: Arnaud Patard Signed-off-by: Ben Dooks --- Reading git-diff-tree failed