From: David Gounaris Date: Mon, 3 Sep 2018 12:47:26 +0000 (+0200) Subject: net/wan/fsl_ucc_hdlc: allow PARITY_CRC16_PR0_CCITT parity X-Git-Tag: v5.4-rc1~2266^2~447^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43a78e0e64d1122fb85527dd96fa786b4084e0df;p=platform%2Fkernel%2Flinux-rpi.git net/wan/fsl_ucc_hdlc: allow PARITY_CRC16_PR0_CCITT parity Signed-off-by: David Gounaris Signed-off-by: David S. Miller --- 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;