* [U-Boot] [PATCH 1/2] blackfin: gpio: Unreserve gpio in special_gpio_free()
@ 2013-06-26 2:09 Axel Lin
2013-06-26 2:10 ` [U-Boot] [PATCH 2/2] gpio: adi_gpio2: " Axel Lin
2013-06-26 3:34 ` [U-Boot] [PATCH 1/2] blackfin: gpio: " Sonic Zhang
0 siblings, 2 replies; 4+ messages in thread
From: Axel Lin @ 2013-06-26 2:09 UTC (permalink / raw)
To: u-boot
In special_gpio_free(), call unreserve() rather than reserve() to release gpio.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
arch/blackfin/cpu/gpio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/blackfin/cpu/gpio.c b/arch/blackfin/cpu/gpio.c
index f74a0b7..a4d10d5 100644
--- a/arch/blackfin/cpu/gpio.c
+++ b/arch/blackfin/cpu/gpio.c
@@ -662,8 +662,8 @@ void special_gpio_free(unsigned gpio)
return;
}
- reserve(special_gpio, gpio);
- reserve(peri, gpio);
+ unreserve(special_gpio, gpio);
+ unreserve(peri, gpio);
set_label(gpio, "free");
}
#endif
--
1.8.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH 2/2] gpio: adi_gpio2: Unreserve gpio in special_gpio_free()
2013-06-26 2:09 [U-Boot] [PATCH 1/2] blackfin: gpio: Unreserve gpio in special_gpio_free() Axel Lin
@ 2013-06-26 2:10 ` Axel Lin
2013-06-26 3:35 ` Sonic Zhang
2013-06-26 3:34 ` [U-Boot] [PATCH 1/2] blackfin: gpio: " Sonic Zhang
1 sibling, 1 reply; 4+ messages in thread
From: Axel Lin @ 2013-06-26 2:10 UTC (permalink / raw)
To: u-boot
In special_gpio_free(), call unreserve() rather than reserve() to release gpio.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
drivers/gpio/adi_gpio2.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpio/adi_gpio2.c b/drivers/gpio/adi_gpio2.c
index 7a034eb..051073c 100644
--- a/drivers/gpio/adi_gpio2.c
+++ b/drivers/gpio/adi_gpio2.c
@@ -352,8 +352,8 @@ void special_gpio_free(unsigned gpio)
return;
}
- reserve(special_gpio, gpio);
- reserve(peri, gpio);
+ unreserve(special_gpio, gpio);
+ unreserve(peri, gpio);
set_label(gpio, "free");
}
#endif
--
1.8.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH 2/2] gpio: adi_gpio2: Unreserve gpio in special_gpio_free()
2013-06-26 2:10 ` [U-Boot] [PATCH 2/2] gpio: adi_gpio2: " Axel Lin
@ 2013-06-26 3:35 ` Sonic Zhang
0 siblings, 0 replies; 4+ messages in thread
From: Sonic Zhang @ 2013-06-26 3:35 UTC (permalink / raw)
To: u-boot
Acked-by: Sonic Zhang <sonic.zhang@analog.com>
On Wed, Jun 26, 2013 at 10:10 AM, Axel Lin <axel.lin@ingics.com> wrote:
> In special_gpio_free(), call unreserve() rather than reserve() to release gpio.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> drivers/gpio/adi_gpio2.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpio/adi_gpio2.c b/drivers/gpio/adi_gpio2.c
> index 7a034eb..051073c 100644
> --- a/drivers/gpio/adi_gpio2.c
> +++ b/drivers/gpio/adi_gpio2.c
> @@ -352,8 +352,8 @@ void special_gpio_free(unsigned gpio)
> return;
> }
>
> - reserve(special_gpio, gpio);
> - reserve(peri, gpio);
> + unreserve(special_gpio, gpio);
> + unreserve(peri, gpio);
> set_label(gpio, "free");
> }
> #endif
> --
> 1.8.1.2
>
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH 1/2] blackfin: gpio: Unreserve gpio in special_gpio_free()
2013-06-26 2:09 [U-Boot] [PATCH 1/2] blackfin: gpio: Unreserve gpio in special_gpio_free() Axel Lin
2013-06-26 2:10 ` [U-Boot] [PATCH 2/2] gpio: adi_gpio2: " Axel Lin
@ 2013-06-26 3:34 ` Sonic Zhang
1 sibling, 0 replies; 4+ messages in thread
From: Sonic Zhang @ 2013-06-26 3:34 UTC (permalink / raw)
To: u-boot
Acked-by: Sonic Zhang <sonic.zhang@analog.com>
On Wed, Jun 26, 2013 at 10:09 AM, Axel Lin <axel.lin@ingics.com> wrote:
> In special_gpio_free(), call unreserve() rather than reserve() to release gpio.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
> arch/blackfin/cpu/gpio.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/blackfin/cpu/gpio.c b/arch/blackfin/cpu/gpio.c
> index f74a0b7..a4d10d5 100644
> --- a/arch/blackfin/cpu/gpio.c
> +++ b/arch/blackfin/cpu/gpio.c
> @@ -662,8 +662,8 @@ void special_gpio_free(unsigned gpio)
> return;
> }
>
> - reserve(special_gpio, gpio);
> - reserve(peri, gpio);
> + unreserve(special_gpio, gpio);
> + unreserve(peri, gpio);
> set_label(gpio, "free");
> }
> #endif
> --
> 1.8.1.2
>
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-06-26 3:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-26 2:09 [U-Boot] [PATCH 1/2] blackfin: gpio: Unreserve gpio in special_gpio_free() Axel Lin
2013-06-26 2:10 ` [U-Boot] [PATCH 2/2] gpio: adi_gpio2: " Axel Lin
2013-06-26 3:35 ` Sonic Zhang
2013-06-26 3:34 ` [U-Boot] [PATCH 1/2] blackfin: gpio: " Sonic Zhang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.