tnt has uploaded this change for review.

View Change

icE1usb: Use ICE1USB_TX_MODE_TS0_CRC4_E to set E bits automatically

We want the hardware to take care of the CRC4 error bit autonomously
without us having to do anything ...

Change-Id: Iea936a6c908ef5e175be3090a8fbcafaeb5a0aed
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
---
M drivers/dahdi/icE1usb/icE1usb.c
1 file changed, 14 insertions(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/dahdi-linux refs/changes/54/36654/1
diff --git a/drivers/dahdi/icE1usb/icE1usb.c b/drivers/dahdi/icE1usb/icE1usb.c
index 7ab751e..2262deb 100644
--- a/drivers/dahdi/icE1usb/icE1usb.c
+++ b/drivers/dahdi/icE1usb/icE1usb.c
@@ -686,7 +686,7 @@
}

if (span->lineconfig & DAHDI_CONFIG_CRC4)
- ieu->cfg.tx.mode = ICE1USB_TX_MODE_TS0_CRC4;
+ ieu->cfg.tx.mode = ICE1USB_TX_MODE_TS0_CRC4_E;
else
ieu->cfg.tx.mode = ICE1USB_TX_MODE_TS0;


To view, visit change 36654. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: dahdi-linux
Gerrit-Branch: master
Gerrit-Change-Id: Iea936a6c908ef5e175be3090a8fbcafaeb5a0aed
Gerrit-Change-Number: 36654
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt@246tNt.com>
Gerrit-MessageType: newchange