]> git.karo-electronics.de Git - linux-beck.git/commit
NFC: st21nfca: Fix st21nfca_gates offset
authorChristophe Ricard <christophe.ricard@gmail.com>
Sun, 25 Oct 2015 21:54:35 +0000 (22:54 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 26 Oct 2015 05:53:17 +0000 (06:53 +0100)
commitba723199d18eeb5021cd6ace4aaf90670d6b3133
tree3fdb41be5d611b83389d9ed48fc0a5270daadc49
parentd3f13c558f2501d4bd0212030f692bc56fbcb755
NFC: st21nfca: Fix st21nfca_gates offset

It is useless to start from index 0 when looking for a gate
because only dynamic pipes are retrieved with
ST21NFCA_DM_GETINFO(ST21NFCA_DM_GETINFO_PIPE_LIST).

The first dynamic pipe is present at index 3.

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