[linux-sunxi] Re: [PATCH v2 04/10] pinctrl: sunxi: Prepare for building SoC specific drivers as modules

2015-05-19 Thread Linus Walleij
On Tue, May 19, 2015 at 9:55 AM, Maxime Ripard wrote: >> Apart from that, currently the kernel panics some seconds after removing >> the pinctrl module because mmc wants to access a gpio. Can this be >> prevented somehow? I think pinctrl must not be removed once other >> devices use any pin-relat

[linux-sunxi] Re: [PATCH v2 04/10] pinctrl: sunxi: Prepare for building SoC specific drivers as modules

2015-05-19 Thread Maxime Ripard
On Tue, May 19, 2015 at 04:02:39PM +0800, Chen-Yu Tsai wrote: > On Tue, May 19, 2015 at 3:55 PM, Maxime Ripard > wrote: > > On Mon, May 18, 2015 at 11:32:31AM +0200, Jens Kuske wrote: > >> Hi, > >> > >> On 05/17/15 16:19, Maxime Ripard wrote: > >> > On Fri, May 15, 2015 at 06:38:54PM +0200, Jens K

[linux-sunxi] Re: [PATCH v2 04/10] pinctrl: sunxi: Prepare for building SoC specific drivers as modules

2015-05-19 Thread Chen-Yu Tsai
On Tue, May 19, 2015 at 3:55 PM, Maxime Ripard wrote: > On Mon, May 18, 2015 at 11:32:31AM +0200, Jens Kuske wrote: >> Hi, >> >> On 05/17/15 16:19, Maxime Ripard wrote: >> > On Fri, May 15, 2015 at 06:38:54PM +0200, Jens Kuske wrote: >> >> Add a remove function and export the init and remove funct

[linux-sunxi] Re: [PATCH v2 04/10] pinctrl: sunxi: Prepare for building SoC specific drivers as modules

2015-05-19 Thread Maxime Ripard
On Mon, May 18, 2015 at 11:32:31AM +0200, Jens Kuske wrote: > Hi, > > On 05/17/15 16:19, Maxime Ripard wrote: > > On Fri, May 15, 2015 at 06:38:54PM +0200, Jens Kuske wrote: > >> Add a remove function and export the init and remove function > >> to allow us to build the SoC specific drivers as mod

[linux-sunxi] Re: [PATCH v2 04/10] pinctrl: sunxi: Prepare for building SoC specific drivers as modules

2015-05-18 Thread Jens Kuske
Hi, On 05/17/15 16:19, Maxime Ripard wrote: > On Fri, May 15, 2015 at 06:38:54PM +0200, Jens Kuske wrote: >> Add a remove function and export the init and remove function >> to allow us to build the SoC specific drivers as modules. >> >> Signed-off-by: Jens Kuske >> --- >> drivers/pinctrl/sunxi/

[linux-sunxi] Re: [PATCH v2 04/10] pinctrl: sunxi: Prepare for building SoC specific drivers as modules

2015-05-17 Thread Maxime Ripard
On Fri, May 15, 2015 at 06:38:54PM +0200, Jens Kuske wrote: > Add a remove function and export the init and remove function > to allow us to build the SoC specific drivers as modules. > > Signed-off-by: Jens Kuske > --- > drivers/pinctrl/sunxi/pinctrl-sunxi.c | 25 +++-- > dr