]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: st21nfcb: Fix improper management of -EREMOTEIO error code.
authorChristophe Ricard <christophe.ricard@gmail.com>
Sat, 13 Sep 2014 08:28:47 +0000 (10:28 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Wed, 24 Sep 2014 00:02:23 +0000 (02:02 +0200)
commit4d3bc3a7cebd612a3ceb055ab46c6c08c84ef5b1
tree8664b73eb8e97b974c209c75c5084cc1a16fa6b9
parentfe909e485b51f3443f1ea76492b3cfea5b267f6f
NFC: st21nfcb: Fix improper management of -EREMOTEIO error code.

On st21nfcb the irq line might be kept to active state because of other
interfaces activity. This may generate i2c read tentative resulting in
i2c NACK.

This fix will currently let NDLC upper layer to decide when it is relevent
to signal to the physical layer when the chip as muted.

Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/nfc/st21nfcb/i2c.c
drivers/nfc/st21nfcb/ndlc.h