Re: [PATCH v5 6/8] net: can: c_can: Disable pins when CAN interface is down
From: Linus Walleij <hidden>
Date: 2014-11-27 13:28:30
Also in:
linux-can, linux-omap
From: Linus Walleij <hidden>
Date: 2014-11-27 13:28:30
Also in:
linux-can, linux-omap
On Fri, Nov 14, 2014 at 2:43 PM, Roger Quadros [off-list ref] wrote:
On 11/13/2014 06:03 PM, Marc Kleine-Budde wrote:quoted
On 11/13/2014 04:23 PM, Roger Quadros wrote:
quoted
I just stumbled over pinctrl_pm_select_sleep_state(), is it possible to integrate this into runtime pm? http://lxr.free-electrons.com/source/drivers/pinctrl/core.c#L1282I think those functions are there for the same reason but not sure why aren't they used in runtime pm core. Linus W. any hints?
It is not used from PM core because there are cases where you may want to put pins to sleep for completely PM-core unrelated things. Things like turning off a serial port from userspace, for example. That should put the pins to sleep. Yours, Linus Walleij