[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACRpkdZoLgwwMbCL1yEQPVqM1Q9NYEYGySZW12xxm4zH3Fbi+Q@mail.gmail.com>
Date: Thu, 27 Nov 2014 14:28:30 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Roger Quadros <rogerq@...com>
Cc: Marc Kleine-Budde <mkl@...gutronix.de>, wg@...ndegger.com,
Wolfram Sang <wsa@...-dreams.de>,
Tony Lindgren <tony@...mide.com>,
Thomas Gleixner <tglx@...utronix.de>,
Mugunthan V N <mugunthanvnm@...com>,
George Cherian <george.cherian@...com>,
Felipe Balbi <balbi@...com>, Sekhar Nori <nsekhar@...com>,
Nishanth Menon <nm@...com>,
Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
Linux-OMAP <linux-omap@...r.kernel.org>,
linux-can@...r.kernel.org,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [PATCH v5 6/8] net: can: c_can: Disable pins when CAN interface
is down
On Fri, Nov 14, 2014 at 2:43 PM, Roger Quadros <rogerq@...com> wrote:
> On 11/13/2014 06:03 PM, Marc Kleine-Budde wrote:
>> On 11/13/2014 04:23 PM, Roger Quadros wrote:
>> 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#L1282
>
> I 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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists