commit | 84b5abe69ff600a559e1a1fa29f1edad707d4e2f | [log] [tgz] |
---|---|---|
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | Sat Oct 28 22:30:17 2006 +0100 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Sat Oct 28 22:30:17 2006 +0100 |
tree | 0a50664ab4b1eb1c5341e82ea0841951d193a818 | |
parent | e0f205d9c656da9dad6340f75e33a96014b7d23f [diff] |
[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 <rmk+kernel@arm.linux.org.uk>