nfc: st-nci: Move loopback usage from HCI to NCI
authorChristophe Ricard <christophe.ricard@gmail.com>
Sat, 30 Apr 2016 07:12:53 +0000 (09:12 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 3 May 2016 23:51:42 +0000 (01:51 +0200)
commit3aacd7fe552b093fc24a8082e16467eb26c2fa32
tree90f55eb132e2a7deb5c6584cf442d7cc98af3221
parent1c53855f6be2e7da270e86cae381745ee6105eab
nfc: st-nci: Move loopback usage from HCI to NCI

NCI provides possible way to run loopback testing has done over HCI.

For us it offers many advantages:
- It simplifies the code: No more need for a vendor_cmds structure
- Loopback over HCI may not be supported in future st-nci firmware

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