summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomoya <tomoya-linux@dsn.okisemi.com>2011-02-07 23:29:01 +0000
committerDavid S. Miller <davem@davemloft.net>2011-02-08 16:37:19 -0800
commiteab743ede8c4a5e88533d022e9c5374ed08df4cb (patch)
tree69bd84b2b38fdc9b4644525d22b30f663429aa5b
parent8d3bdbd55a7e2a3f2c148a4830aa26dd682b21c4 (diff)
pch_can: fix 800k comms issue
Currently, 800k comms fails since prop_seg set zero. (EG20T PCH CAN register of prop_seg must be set more than 1) To prevent prop_seg set to zero, change tseg2_min 1 to 2. Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/can/pch_can.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/pch_can.c b/drivers/net/can/pch_can.c
index c42e97268248..9b171d12f793 100644
--- a/drivers/net/can/pch_can.c
+++ b/drivers/net/can/pch_can.c
@@ -187,7 +187,7 @@ static struct can_bittiming_const pch_can_bittiming_const = {
.name = KBUILD_MODNAME,
.tseg1_min = 1,
.tseg1_max = 16,
- .tseg2_min = 1,
+ .tseg2_min = 2,
.tseg2_max = 8,
.sjw_max = 4,
.brp_min = 1,