can: c_can: Add d_can suspend resume support
authorAnilKumar Ch <anilkumar@ti.com>
Fri, 21 Sep 2012 09:59:01 +0000 (15:29 +0530)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 21 Sep 2012 21:58:47 +0000 (23:58 +0200)
commit8212003260c600b9b55a79634fb29d0f7ec813d9
tree4abda0ecb7fbaeacb9a9874fe54f79abac8726e3
parent4cdd34b26826e89972c03043987b83f76e7ad510
can: c_can: Add d_can suspend resume support

Adds suspend resume support to DCAN driver which enables
DCAN power down mode bit (PDR). Then DCAN will ack the local
power-down mode by setting PDA bit in STATUS register.

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/c_can/c_can.c
drivers/net/can/c_can/c_can.h
drivers/net/can/c_can/c_can_platform.c