From: Marek Vasut Date: Fri, 30 Nov 2012 17:48:35 +0000 (+0100) Subject: i2c: mxs: Implement arbitrary clock speed derivation algorithm X-Git-Tag: v3.9-rc1~75^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=626f0a2ff6bc9820b17c17958d5862262556892f;p=pandora-kernel.git i2c: mxs: Implement arbitrary clock speed derivation algorithm This patch drops the i2c timing tables from this driver and instead derives the timing based from the requested clock sleep. The timing tables were completely wrong anyway when observed on a scope. This new algorithm is also only derived by using a scope, but it seems to produce much more accurate result. Signed-off-by: Marek Vasut Tested-by: Shawn Guo [wsa: changed messages from dev_err to dev_warn] Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed