From: Christophe Ricard Date: Tue, 31 Mar 2015 06:02:15 +0000 (+0200) Subject: NFC: st21nfcb: Retry i2c_master_send if it returns a negative value X-Git-Tag: omap-for-v4.2/o2_dc~131^2~44^2~12 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4a41d10b2cb5890aeda6b2912973b2a754b05b1;p=pandora-kernel.git NFC: st21nfcb: Retry i2c_master_send if it returns a negative value i2c_master_send may return many negative values different than -EREMOTEIO. In case an i2c transaction is NACK'ed, on raspberry pi B+ kernel 3.18, -EIO is generated instead. Cc: stable@vger.kernel.org Signed-off-by: Christophe Ricard Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed