Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218375
b: refs/heads/master
c: b156fd0
h: refs/heads/master
i:
  218373: 1947f4d
  218371: b8a5d10
  218367: 31b7343
v: v3
  • Loading branch information
Marc Kleine-Budde authored and David S. Miller committed Oct 24, 2010
1 parent 49c1660 commit 0d0a3c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 33a6f298c28a65fa643bc70222ebffe75077f197
refs/heads/master: b156fd0483c8f18b3cc544d9c400fe454458e16a
2 changes: 1 addition & 1 deletion trunk/drivers/net/can/at91_can.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ static void at91_chip_start(struct net_device *dev)
reg_mr = at91_read(priv, AT91_MR);
at91_write(priv, AT91_MR, reg_mr & ~AT91_MR_CANEN);

at91_set_bittiming(dev);
at91_setup_mailboxes(dev);
at91_transceiver_switch(priv, 1);

Expand Down Expand Up @@ -1086,7 +1087,6 @@ static int __devinit at91_can_probe(struct platform_device *pdev)
priv = netdev_priv(dev);
priv->can.clock.freq = clk_get_rate(clk);
priv->can.bittiming_const = &at91_bittiming_const;
priv->can.do_set_bittiming = at91_set_bittiming;
priv->can.do_set_mode = at91_set_mode;
priv->can.do_get_berr_counter = at91_get_berr_counter;
priv->can.ctrlmode_supported = CAN_CTRLMODE_3_SAMPLES;
Expand Down

0 comments on commit 0d0a3c2

Please sign in to comment.