From: Vasily Khoruzhick <anarsoul@gmail.com> To: linux-arm-kernel@lists.infradead.org Cc: ben-linux@fluff.org, linux-input@vger.kernel.org, Vasily Khoruzhick <anarsoul@gmail.com> Subject: [PATCH 3/4] s3c24xx_adc: disable/enable IRQ on suspend/resume Date: Thu, 18 Feb 2010 18:32:29 +0200 [thread overview] Message-ID: <1266510750-9846-4-git-send-email-anarsoul@gmail.com> (raw) In-Reply-To: <1266510750-9846-1-git-send-email-anarsoul@gmail.com> IRQ should be disabled on suspend and re-enabled on resume. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> --- arch/arm/plat-s3c24xx/adc.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-s3c24xx/adc.c b/arch/arm/plat-s3c24xx/adc.c index ce47627..284f653 100644 --- a/arch/arm/plat-s3c24xx/adc.c +++ b/arch/arm/plat-s3c24xx/adc.c @@ -388,6 +388,7 @@ static int s3c_adc_suspend(struct platform_device *pdev, pm_message_t state) con |= S3C2410_ADCCON_STDBM; writel(con, adc->regs + S3C2410_ADCCON); + disable_irq(adc->irq); clk_disable(adc->clk); return 0; @@ -398,6 +399,7 @@ static int s3c_adc_resume(struct platform_device *pdev) struct adc_device *adc = platform_get_drvdata(pdev); clk_enable(adc->clk); + enable_irq(adc->irq); writel(adc->prescale | S3C2410_ADCCON_PRSCEN, adc->regs + S3C2410_ADCCON); -- 1.7.0
WARNING: multiple messages have this Message-ID (diff)
From: anarsoul@gmail.com (Vasily Khoruzhick) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/4] s3c24xx_adc: disable/enable IRQ on suspend/resume Date: Thu, 18 Feb 2010 18:32:29 +0200 [thread overview] Message-ID: <1266510750-9846-4-git-send-email-anarsoul@gmail.com> (raw) In-Reply-To: <1266510750-9846-1-git-send-email-anarsoul@gmail.com> IRQ should be disabled on suspend and re-enabled on resume. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> --- arch/arm/plat-s3c24xx/adc.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/plat-s3c24xx/adc.c b/arch/arm/plat-s3c24xx/adc.c index ce47627..284f653 100644 --- a/arch/arm/plat-s3c24xx/adc.c +++ b/arch/arm/plat-s3c24xx/adc.c @@ -388,6 +388,7 @@ static int s3c_adc_suspend(struct platform_device *pdev, pm_message_t state) con |= S3C2410_ADCCON_STDBM; writel(con, adc->regs + S3C2410_ADCCON); + disable_irq(adc->irq); clk_disable(adc->clk); return 0; @@ -398,6 +399,7 @@ static int s3c_adc_resume(struct platform_device *pdev) struct adc_device *adc = platform_get_drvdata(pdev); clk_enable(adc->clk); + enable_irq(adc->irq); writel(adc->prescale | S3C2410_ADCCON_PRSCEN, adc->regs + S3C2410_ADCCON); -- 1.7.0
next prev parent reply other threads:[~2010-02-18 16:33 UTC|newest] Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-02-18 16:32 [PATCH 0/4] s3c24xx_ts driver fixes Vasily Khoruzhick 2010-02-18 16:32 ` Vasily Khoruzhick 2010-02-18 16:32 ` [PATCH 1/4] Add resources description for s3c24xx ts driver Vasily Khoruzhick 2010-02-18 16:32 ` Vasily Khoruzhick 2010-02-21 23:12 ` Ben Dooks 2010-02-18 16:32 ` [PATCH 2/4] s3c24xx_ts: report touch only when stylus is down Vasily Khoruzhick 2010-02-18 16:32 ` Vasily Khoruzhick 2010-02-19 9:17 ` Dmitry Torokhov 2010-02-19 9:17 ` Dmitry Torokhov 2010-02-19 10:02 ` Vasily Khoruzhick 2010-02-19 10:02 ` Vasily Khoruzhick 2010-02-21 7:35 ` Dmitry Torokhov 2010-02-21 7:35 ` Dmitry Torokhov 2010-02-21 9:05 ` Vasily Khoruzhick 2010-02-21 9:05 ` Vasily Khoruzhick 2010-02-21 9:41 ` Dmitry Torokhov 2010-02-21 9:41 ` Dmitry Torokhov 2010-02-21 10:10 ` Vasily Khoruzhick 2010-02-21 10:10 ` Vasily Khoruzhick 2010-02-21 10:28 ` Dmitry Torokhov 2010-02-21 10:28 ` Dmitry Torokhov 2010-02-21 10:33 ` Vasily Khoruzhick 2010-02-21 10:33 ` Vasily Khoruzhick 2010-02-21 14:27 ` Nelson Castillo 2010-02-21 21:44 ` Vasily Khoruzhick 2010-02-21 22:51 ` Dmitry Torokhov 2010-02-21 22:58 ` Vasily Khoruzhick 2010-02-22 7:14 ` Dmitry Torokhov 2010-02-22 7:14 ` Dmitry Torokhov 2010-02-22 8:58 ` Vasily Khoruzhick 2010-02-22 8:58 ` Vasily Khoruzhick 2010-02-22 9:03 ` Vasily Khoruzhick 2010-02-22 9:03 ` Vasily Khoruzhick 2010-02-18 16:32 ` Vasily Khoruzhick [this message] 2010-02-18 16:32 ` [PATCH 3/4] s3c24xx_adc: disable/enable IRQ on suspend/resume Vasily Khoruzhick 2010-02-21 23:12 ` Ben Dooks 2010-02-18 16:32 ` [PATCH 4/4] s3c24xx_ts: re-enable IRQ on resume Vasily Khoruzhick 2010-02-18 16:32 ` Vasily Khoruzhick 2010-02-19 9:05 ` Dmitry Torokhov 2010-02-19 9:05 ` Dmitry Torokhov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1266510750-9846-4-git-send-email-anarsoul@gmail.com \ --to=anarsoul@gmail.com \ --cc=ben-linux@fluff.org \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-input@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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.