[PATCH 2/2] ARM: pxa168: gplugD: bug-fix: Free correct GPIO

Eric Miao eric.y.miao at gmail.com
Mon Jul 18 01:59:57 EDT 2011


On Thu, Jul 14, 2011 at 5:37 PM, Tanmay Upadhyay
<tanmay.upadhyay at einfochips.com> wrote:
> Signed-off-by: Tanmay Upadhyay <tanmay.upadhyay at einfochips.com>

Applied to 'devel'.

> ---
>  arch/arm/mach-mmp/gplugd.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-mmp/gplugd.c b/arch/arm/mach-mmp/gplugd.c
> index 0770e51..98e25d9 100644
> --- a/arch/arm/mach-mmp/gplugd.c
> +++ b/arch/arm/mach-mmp/gplugd.c
> @@ -162,7 +162,7 @@ static void __init select_disp_freq(void)
>                                "frequency\n");
>        } else {
>                gpio_direction_output(35, 1);
> -               gpio_free(104);
> +               gpio_free(35);
>        }
>
>        if (unlikely(gpio_request(85, "DISP_FREQ_SEL_2"))) {
> @@ -170,7 +170,7 @@ static void __init select_disp_freq(void)
>                                "frequency\n");
>        } else {
>                gpio_direction_output(85, 0);
> -               gpio_free(104);
> +               gpio_free(85);
>        }
>  }
>
> --
> 1.7.0.4
>
>



More information about the linux-arm-kernel mailing list