]> git.openfabrics.org - ~emulex/infiniband.git/commit
NFC: st21nfca: Synchronize i2c Tx and Rx path
authorChristophe Ricard <christophe.ricard@gmail.com>
Thu, 24 Apr 2014 21:19:34 +0000 (23:19 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Sun, 4 May 2014 23:01:23 +0000 (01:01 +0200)
commita3c5d8fb7ffa8850f3d2fc01e1dde0709a3954f9
treeb8cc659914079b6811af7c393ad6664359a0fd70
parentc97ffdbf51ec3f944e6661ecb16985d47c8073c7
NFC: st21nfca: Synchronize i2c Tx and Rx path

Stabilize communication by using a mutex.
This avoids running a write transaction during a read retry or a read
transaction during a write retry.

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