[PATCH] usb: acm: fix the computation of the number of data bits

2012-10-13 Thread Nicolas Boullis
From: Nicolas Boullis The current code assumes that CSIZE is 060, which appears to be wrong on some arches (such as powerpc). Signed-off-by: Nicolas Boullis --- diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 981f213..194fa8b 100644 --- a/drivers/usb/class/cdc

[PATCH] usb: acm: fix the computation of the number of data bits

2012-10-15 Thread Nicolas Boullis
From: Nicolas Boullis The current code assumes that CSIZE is 060, which appears to be wrong on some arches (such as powerpc). Signed-off-by: Nicolas Boullis Acked-by: Oliver Neukum --- diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 981f213..194fa8b 100644