]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: st21nfca: Improve read length sequence for P2P mode.
authorChristophe Ricard <christophe.ricard@gmail.com>
Tue, 20 May 2014 20:21:56 +0000 (22:21 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 22 Jul 2014 23:04:31 +0000 (01:04 +0200)
commitf436fa8a257836826b83bb234a15e7a2e20af0d0
treedeac1c63b47ce7364ccc61cfadc04284148ced52
parent3350ad6d5e66f611d9e33d8cc48f72e410b66fcf
NFC: st21nfca: Improve read length sequence for P2P mode.

A DEP_RES with a SUPERVISOR PDU can be up to 16 bytes long.

In order to avoid useless read during p2p, extend first read
sequence to 16 and reduce third sequence to 12 to keep same
total on the full sequence.

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