projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8d7477
)
net/wan/fsl_ucc_hdlc: allow PARITY_CRC16_PR0_CCITT parity
author
David Gounaris
<david.gounaris@infinera.com>
Mon, 3 Sep 2018 12:47:26 +0000
(14:47 +0200)
committer
David S. Miller
<davem@davemloft.net>
Tue, 4 Sep 2018 05:14:41 +0000
(22:14 -0700)
Signed-off-by: David Gounaris <david.gounaris@infinera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/fsl_ucc_hdlc.c
patch
|
blob
|
history
diff --git
a/drivers/net/wan/fsl_ucc_hdlc.c
b/drivers/net/wan/fsl_ucc_hdlc.c
index f2252e87ce43243a82aba1d99c191acd7a13caf0..df5661d57d87b73b7741c8ec07ec14dff1bba48f 100644
(file)
--- 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;