From: Guennadi Liakhovetski Date: Thu, 22 Mar 2007 12:06:55 +0000 (+0100) Subject: [ARM] 4278/1: configure pxa27x I2C SCL as "input" X-Git-Tag: v2.6.21-rc5~3^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53698d2537bc8c2b8fedc788b8b927da9a004f9b;p=pandora-kernel.git [ARM] 4278/1: configure pxa27x I2C SCL as "input" It has been reported by Julian Deng that configuring the pxa27x i2c SCL line as output generates a short negative pulse on it during the call to pxa_gpio_mode(GPIO117_I2CSCL_MD); as it first switches it to output and then configures it for the alternate function. The SCL line is in fact bidirectional and can also be configured as 117 | GPIO_ALT_FN_1_IN, in which case the pulse is not generated. This is exactly what this patch does. Author: Julian Deng Signed-off-by: G. Liakhovetski Signed-off-by: Russell King --- Reading git-diff-tree failed