aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nfc/st21nfca/st21nfca.c
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2015-03-31 08:02:15 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2015-04-06 00:16:01 +0200
commitd4a41d10b2cb5890aeda6b2912973b2a754b05b1 (patch)
tree2fbff7db8ce08da1d6791138f88e79338b90c276 /drivers/nfc/st21nfca/st21nfca.c
parentNFC: st21nfcb: Fix memory leak in secure element probing stage (diff)
downloadlinux-dev-d4a41d10b2cb5890aeda6b2912973b2a754b05b1.tar.xz
linux-dev-d4a41d10b2cb5890aeda6b2912973b2a754b05b1.zip
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 <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/st21nfca/st21nfca.c')
0 files changed, 0 insertions, 0 deletions