summaryrefslogtreecommitdiffstats
path: root/drivers/nfc/st-nci
diff options
context:
space:
mode:
authorChristophe Ricard <christophe.ricard@gmail.com>2015-08-14 22:33:39 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2015-08-17 01:27:23 +0200
commit94b85938ad21944afeff71d1cca68b094905e1b9 (patch)
tree6f2a7d1d1fad7916c40d1b6bdc88a37846da574a /drivers/nfc/st-nci
parenta6be357e9720a7f8e11e2997e60626179151d190 (diff)
downloadtalos-op-linux-94b85938ad21944afeff71d1cca68b094905e1b9.tar.gz
talos-op-linux-94b85938ad21944afeff71d1cca68b094905e1b9.zip
nfc: st-nci: Remove pr_err in rcv_queue when ndlc header is unknown
spi phy needs to use ndlc_recv at every spi transaction causing "unknown packet control byte" error message each time the header is 00. Make this silent. Signed-off-by: Christophe Ricard <christophe-h.ricard@st.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/st-nci')
-rw-r--r--drivers/nfc/st-nci/ndlc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/nfc/st-nci/ndlc.c b/drivers/nfc/st-nci/ndlc.c
index 4f51649d0e75..d2cf84e680c6 100644
--- a/drivers/nfc/st-nci/ndlc.c
+++ b/drivers/nfc/st-nci/ndlc.c
@@ -194,7 +194,6 @@ static void llt_ndlc_rcv_queue(struct llt_ndlc *ndlc)
msecs_to_jiffies(NDLC_TIMER_T1_WAIT));
break;
default:
- pr_err("UNKNOWN Packet Control Byte=%d\n", pcb);
kfree_skb(skb);
break;
}
OpenPOWER on IntegriCloud