can: m_can: select pinctrl state in each suspend/resume function
authorBich HEMON <bich.hemon@st.com>
Mon, 12 Mar 2018 08:52:37 +0000 (08:52 +0000)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 12 Mar 2018 09:38:20 +0000 (10:38 +0100)
commitc9b3bce18da4a0aebc27853052dea39aa64b7d75
tree0d1f09eac8c3bd88a332a0480118456abe5f4820
parentffd137f7043cb30067e1bff6fe62a073ae190b23
can: m_can: select pinctrl state in each suspend/resume function

Make sure to apply the correct pin state in suspend/resume callbacks.
Putting pins in sleep state saves power.

Signed-off-by: Bich Hemon <bich.hemon@st.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/m_can/m_can.c