From: Russell King Date: Sat, 28 Oct 2006 21:30:17 +0000 (+0100) Subject: [ARM] Fix i2c-pxa slave mode support X-Git-Tag: v2.6.19-rc4~23^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84b5abe69ff600a559e1a1fa29f1edad707d4e2f;p=pandora-kernel.git [ARM] Fix i2c-pxa slave mode support i2c-pxa times out when trying to enable slave mode due to an incorrect test. Also, check that i2c->slave is non-NULL before dereferencing it. Signed-off-by: Russell King --- Reading git-diff-tree failed