]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00217318-3 flexcan: only enter stop mode when device is up
authorDong Aisheng <b29396@freescale.com>
Fri, 3 Aug 2012 14:33:08 +0000 (22:33 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:12:37 +0000 (14:12 +0200)
commite85540a4704ecaaa60b8db8d72835cf596005c35
tree3af618c0c43dd8dc335c172471545955378ea566
parentff1ed25e8c556e117f655fee4327670e14939df4
ENGR00217318-3 flexcan: only enter stop mode when device is up

The flexcan is still in disable mode during suspend if it's still
not up. We do not need to enter stop mode if find the device is not
up since the stop mode does not work well in disable mode(remote wakeup
does not work).

Using disable mode for suspend if it's not up.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
drivers/net/can/flexcan.c