Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751803Ab2KUFOe (ORCPT ); Wed, 21 Nov 2012 00:14:34 -0500 Received: from mail-ee0-f46.google.com ([74.125.83.46]:34813 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750791Ab2KUFOd (ORCPT ); Wed, 21 Nov 2012 00:14:33 -0500 MIME-Version: 1.0 In-Reply-To: <1353458245-14142-1-git-send-email-andrea.adami@gmail.com> References: <1353458245-14142-1-git-send-email-andrea.adami@gmail.com> Date: Wed, 21 Nov 2012 13:14:32 +0800 Message-ID: Subject: Re: [PATCH 1/1] ARM: pxa: fix pxa25x gpio wakeup setting From: Haojian Zhuang To: Andrea Adami Cc: Eric Miao , Russell King , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1668 Lines: 46 On Wed, Nov 21, 2012 at 8:37 AM, Andrea Adami wrote: > * Since 3.3 gpio wakeup is broken on pxa25x (tested on corgi and poodle). > * Use gpio_set_wake like done for pxa27x with commit id > * b95ace54a23e2f8ebb032744cebb17c9f43bf651 > > Signed-off-by: Andrea Adami > --- > arch/arm/mach-pxa/pxa25x.c | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/mach-pxa/pxa25x.c b/arch/arm/mach-pxa/pxa25x.c > index 3352b37..aeb913e 100644 > --- a/arch/arm/mach-pxa/pxa25x.c > +++ b/arch/arm/mach-pxa/pxa25x.c > @@ -338,6 +338,10 @@ void __init pxa25x_map_io(void) > pxa25x_get_clk_frequency_khz(1); > } > > +static struct pxa_gpio_platform_data pxa25x_gpio_info __initdata = { > + .gpio_set_wake = gpio_set_wake, > +}; > + > static struct platform_device *pxa25x_devices[] __initdata = { > &pxa25x_device_udc, > &pxa_device_pmu, > @@ -370,6 +374,7 @@ static int __init pxa25x_init(void) > register_syscore_ops(&pxa2xx_mfp_syscore_ops); > register_syscore_ops(&pxa2xx_clock_syscore_ops); > > + pxa_register_device(&pxa_device_gpio, &pxa25x_gpio_info); > ret = platform_add_devices(pxa25x_devices, > ARRAY_SIZE(pxa25x_devices)); > if (ret) > -- > 1.7.8.6 > Acked & applied Regards Haojian -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/