]> git.baikalelectronics.ru Git - kernel.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)
commit986628f43206f43cb6b1811c10041f5274be22b9
treeb8cc659914079b6811af7c393ad6664359a0fd70
parentf7768c38957690eef4868ebbfed0449780989100
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