From 43a78e0e64d1122fb85527dd96fa786b4084e0df Mon Sep 17 00:00:00 2001 From: David Gounaris Date: Mon, 3 Sep 2018 14:47:26 +0200 Subject: net/wan/fsl_ucc_hdlc: allow PARITY_CRC16_PR0_CCITT parity Signed-off-by: David Gounaris Signed-off-by: David S. Miller --- drivers/net/wan/fsl_ucc_hdlc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wan/fsl_ucc_hdlc.c b/drivers/net/wan/fsl_ucc_hdlc.c index f2252e87ce43..df5661d57d87 100644 --- a/drivers/net/wan/fsl_ucc_hdlc.c +++ b/drivers/net/wan/fsl_ucc_hdlc.c @@ -780,6 +780,7 @@ static int ucc_hdlc_attach(struct net_device *dev, unsigned short encoding, if (parity != PARITY_NONE && parity != PARITY_CRC32_PR1_CCITT && + parity != PARITY_CRC16_PR0_CCITT && parity != PARITY_CRC16_PR1_CCITT) return -EINVAL; -- cgit v1.2.3-58-ga151