Skip to content

Commit

Permalink
pch_can: fix tseg1/tseg2 setting issue
Browse files Browse the repository at this point in the history
Previous patch "[PATCH 1/3] pch_can: fix 800k comms issue" is wrong.
I should have modified tseg1_min not tseg2_min.
This patch reverts tseg2_min to 1 and set tseg1_min to 2.

Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Tomoya MORINAGA authored and David S. Miller committed Feb 10, 2011
1 parent cd141ee commit ebc02e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/can/pch_can.c
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ struct pch_can_priv {

static struct can_bittiming_const pch_can_bittiming_const = {
.name = KBUILD_MODNAME,
.tseg1_min = 1,
.tseg1_min = 2,
.tseg1_max = 16,
.tseg2_min = 2,
.tseg2_min = 1,
.tseg2_max = 8,
.sjw_max = 4,
.brp_min = 1,
Expand Down

0 comments on commit ebc02e9

Please sign in to comment.