mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] pinctrl: iomux-v3: Cleaning SION patch before applying
@ 2016-05-26 18:02 Alexander Shiyan
  2016-05-30  5:09 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Shiyan @ 2016-05-26 18:02 UTC (permalink / raw)
  To: barebox

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 drivers/pinctrl/imx-iomux-v3.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/pinctrl/imx-iomux-v3.c b/drivers/pinctrl/imx-iomux-v3.c
index 66443b7..92fac18 100644
--- a/drivers/pinctrl/imx-iomux-v3.c
+++ b/drivers/pinctrl/imx-iomux-v3.c
@@ -132,8 +132,10 @@ static int imx_iomux_v3_set_state(struct pinctrl_device *pdev, struct device_nod
 		u32 input_val = be32_to_cpu(*list++);
 		u32 conf_val = be32_to_cpu(*list++);
 
-		if (conf_val & IMX_PAD_SION)
+		if (conf_val & IMX_PAD_SION) {
 			mux_val |= IOMUXC_CONFIG_SION;
+			conf_val &= ~IMX_PAD_SION;
+		}
 
 		if (conf_val & IMX_DT_NO_PAD_CTL)
 			conf_reg = 0;
-- 
2.4.9


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] pinctrl: iomux-v3: Cleaning SION patch before applying
  2016-05-26 18:02 [PATCH] pinctrl: iomux-v3: Cleaning SION patch before applying Alexander Shiyan
@ 2016-05-30  5:09 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2016-05-30  5:09 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: barebox

On Thu, May 26, 2016 at 09:02:59PM +0300, Alexander Shiyan wrote:
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> ---
>  drivers/pinctrl/imx-iomux-v3.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/drivers/pinctrl/imx-iomux-v3.c b/drivers/pinctrl/imx-iomux-v3.c
> index 66443b7..92fac18 100644
> --- a/drivers/pinctrl/imx-iomux-v3.c
> +++ b/drivers/pinctrl/imx-iomux-v3.c
> @@ -132,8 +132,10 @@ static int imx_iomux_v3_set_state(struct pinctrl_device *pdev, struct device_nod
>  		u32 input_val = be32_to_cpu(*list++);
>  		u32 conf_val = be32_to_cpu(*list++);
>  
> -		if (conf_val & IMX_PAD_SION)
> +		if (conf_val & IMX_PAD_SION) {
>  			mux_val |= IOMUXC_CONFIG_SION;
> +			conf_val &= ~IMX_PAD_SION;
> +		}
>  
>  		if (conf_val & IMX_DT_NO_PAD_CTL)
>  			conf_reg = 0;
> -- 
> 2.4.9
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-30  5:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-26 18:02 [PATCH] pinctrl: iomux-v3: Cleaning SION patch before applying Alexander Shiyan
2016-05-30  5:09 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox