From: Olof Johansson Date: Thu, 15 Nov 2007 18:24:02 +0000 (+0100) Subject: i2c-pasemi: Fix NACK detection X-Git-Tag: v2.6.24-rc3~8^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be8a1f7cd4501c3b4b32543577a33aee6d2193ac;p=pandora-kernel.git i2c-pasemi: Fix NACK detection Turns out we don't actually check the status to see if there was a device out there to talk to, just if we had a timeout when doing so. Add the proper check, so we don't falsly think there are devices on the bus that are not there, etc. Signed-off-by: Olof Johansson Signed-off-by: Jean Delvare --- Reading git-diff-tree failed