mirror of
https://github.com/torvalds/linux.git
synced 2026-02-04 15:28:49 +08:00
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>