From: Jon Povey Date: Tue, 12 Oct 2010 04:47:05 +0000 (+0900) Subject: i2c-davinci: Fix TX setup for more SoCs X-Git-Tag: v2.6.36~10^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5b4afec8e669bbe265daea24037fccfc42c4fe3;p=pandora-kernel.git i2c-davinci: Fix TX setup for more SoCs This patch is an improvement to 4bba0fd8d1c6d405df666e2573e1a1f917098be0 which got to mainline a little early. Sudhakar Rajashekhara explains that at least OMAP-L138 requires MDR mode settings before DXR for correct behaviour, so load MDR first with STT cleared and later load again with STT set. Tested on DM355 connected to Techwell TW2836 and Wolfson WM8985 Signed-off-by: Jon Povey Acked-by: Troy Kisky Tested-by: Sudhakar Rajashekhara Acked-by: Kevin Hilman Signed-off-by: Ben Dooks --- Reading git-diff-tree failed