Re: [PATCH v6] pinctrl: to avoid duplicated calling enable_pinmux_setting for a pin

2014-07-09 Thread Bjorn Andersson
On Sun, Jun 8, 2014 at 6:37 PM, wrote: > From: Fan Wu [...] > diff --git a/drivers/pinctrl/pinctrl-msm.c b/drivers/pinctrl/pinctrl-msm.c > index df6dda4c..bdfaba4 100644 > --- a/drivers/pinctrl/pinctrl-msm.c > +++ b/drivers/pinctrl/pinctrl-msm.c > @@ -165,36 +165,11 @@ static int

Re: [PATCH v6] pinctrl: to avoid duplicated calling enable_pinmux_setting for a pin

2014-07-09 Thread Bjorn Andersson
On Sun, Jun 8, 2014 at 6:37 PM, f...@marvell.com wrote: From: Fan Wu f...@marvell.com [...] diff --git a/drivers/pinctrl/pinctrl-msm.c b/drivers/pinctrl/pinctrl-msm.c index df6dda4c..bdfaba4 100644 --- a/drivers/pinctrl/pinctrl-msm.c +++ b/drivers/pinctrl/pinctrl-msm.c @@ -165,36 +165,11 @@

[PATCH v6] pinctrl: to avoid duplicated calling enable_pinmux_setting for a pin

2014-06-08 Thread fwu
From: Fan Wu What the patch did: 1.To call pinmux_disable_setting ahead of pinmux_enable_setting in each time of calling pinctrl_select_state 2.Remove the HW disable operation in in pinmux_disable_setting function. 3.Remove the disable ops in struct pinmux_ops 4.Remove all the disable ops

[PATCH v6] pinctrl: to avoid duplicated calling enable_pinmux_setting for a pin

2014-06-08 Thread fwu
From: Fan Wu f...@marvell.com What the patch did: 1.To call pinmux_disable_setting ahead of pinmux_enable_setting in each time of calling pinctrl_select_state 2.Remove the HW disable operation in in pinmux_disable_setting function. 3.Remove the disable ops in struct pinmux_ops 4.Remove all the