Re: [PATCH 1/2] pinctrl: add sleep mode management for hogs

2012-12-13 Thread Julien DELACOU
On 12/12/2012 08:31 PM, Linus Walleij wrote: On Tue, Dec 11, 2012 at 10:11 PM, Stephen Warren wrote: Since I assume those function are only supposed to be used by pinctrl drivers themselves, should the prototypes go into drivers/pinctrl/core.h or similar, rather than something in

Re: [PATCH 1/2] pinctrl: add sleep mode management for hogs

2012-12-13 Thread Julien DELACOU
On 12/12/2012 08:31 PM, Linus Walleij wrote: On Tue, Dec 11, 2012 at 10:11 PM, Stephen Warrenswar...@wwwdotorg.org wrote: Since I assume those function are only supposed to be used by pinctrl drivers themselves, should the prototypes go into drivers/pinctrl/core.h or similar, rather than

Re: [PATCH 1/2] pinctrl: add sleep mode management for hogs

2012-12-12 Thread Linus Walleij
On Tue, Dec 11, 2012 at 10:11 PM, Stephen Warren wrote: > Since I assume those function are only supposed to be used by pinctrl > drivers themselves, should the prototypes go into drivers/pinctrl/core.h > or similar, rather than something in include/linux/pinctrl? Good point, Julien can you fix

Re: [PATCH 1/2] pinctrl: add sleep mode management for hogs

2012-12-12 Thread Linus Walleij
On Tue, Dec 11, 2012 at 10:11 PM, Stephen Warren swar...@wwwdotorg.org wrote: Since I assume those function are only supposed to be used by pinctrl drivers themselves, should the prototypes go into drivers/pinctrl/core.h or similar, rather than something in include/linux/pinctrl? Good point,

Re: [PATCH 1/2] pinctrl: add sleep mode management for hogs

2012-12-11 Thread Stephen Warren
On 12/11/2012 06:59 AM, Linus Walleij wrote: > From: Julien Delacou > > This fix allows handling sleep mode for hogged > pins in pinctrl. It provides functions to set pins > to sleep/default configurations according to their > current state from the individual pinctrl drivers. > diff --git

[PATCH 1/2] pinctrl: add sleep mode management for hogs

2012-12-11 Thread Linus Walleij
From: Julien Delacou This fix allows handling sleep mode for hogged pins in pinctrl. It provides functions to set pins to sleep/default configurations according to their current state from the individual pinctrl drivers. Signed-off-by: Julien Delacou Signed-off-by: Linus Walleij ---

[PATCH 1/2] pinctrl: add sleep mode management for hogs

2012-12-11 Thread Linus Walleij
From: Julien Delacou julien.dela...@stericsson.com This fix allows handling sleep mode for hogged pins in pinctrl. It provides functions to set pins to sleep/default configurations according to their current state from the individual pinctrl drivers. Signed-off-by: Julien Delacou

Re: [PATCH 1/2] pinctrl: add sleep mode management for hogs

2012-12-11 Thread Stephen Warren
On 12/11/2012 06:59 AM, Linus Walleij wrote: From: Julien Delacou julien.dela...@stericsson.com This fix allows handling sleep mode for hogged pins in pinctrl. It provides functions to set pins to sleep/default configurations according to their current state from the individual pinctrl