| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] IP32 power button fix for 2.6.30 |
| From: | Andrew Randrianasulu <randrik_a@yahoo.com> |
| Date: | Thu, 14 May 2009 11:29:27 -0700 (PDT) |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1242325767; bh=srhgTM3XJtyE3xpU+7sHUI4MinQ2RIGipxCpP4jOPP8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=Pt5FHKZ24FHF5dR2ymVCBYdgjChjkb6IIyxuaVKGtVWiOtjF8lrx/GvjiINuOLlUIYllTNI1EbjkEfLEL72+bMIl2ANJLyThbBUrCr8Spu8+HDuVvwS/nxm/5o838lx5iE5Q9D40dXKArAGePrQIlG4bzcqeQXNRCHZ+6/a0b2g= |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=l+csaBSUkcUejy1eePqfA4RjWpw304kv2WEjFRORUsp0txYc2XoifcV6rAToMXtKOCJ+uoPuUwZeNrxEKG6/wAGgcJPlbngm6UKr12BwG4eLmQ0+SfA8dlevUdnlG/afkRQfVRV97gdmrRNSWEQvqiaATKP9fDCFHYwAYEop1WA=; |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
I think i run into same sort of problem, as described here: http://lkml.org/lkml/2009/4/16/24 http://lkml.org/lkml/2009/4/14/94 (in my case it was hang after pressing O2's power button) this patch fixes it: ---- diff --git a/arch/mips/sgi-ip32/ip32-reset.c b/arch/mips/sgi-ip32/ip32-reset.c index b6cab08..667da93 100644 --- a/arch/mips/sgi-ip32/ip32-reset.c +++ b/arch/mips/sgi-ip32/ip32-reset.c @@ -145,7 +145,7 @@ static irqreturn_t ip32_rtc_int(int irq, void *dev_id) "%s: RTC IRQ without RTC_IRQF\n", __func__); } /* Wait until interrupt goes away */ - disable_irq(MACEISA_RTC_IRQ); + disable_irq_nosync(MACEISA_RTC_IRQ); init_timer(&debounce_timer); debounce_timer.function = debounce; debounce_timer.expires = jiffies + 50; ---- tested with 2.6.30-rc5 mainline (linux-mips.org tree was also affected) |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] ASoC: Add TXx9 AC link controller driver, Atsushi Nemoto |
|---|---|
| Next by Date: | Re: [alsa-devel] [PATCH] ASoC: Add TXx9 AC link controller driver, Mark Brown |
| Previous by Thread: | [PATCH] ASoC: Add TXx9 AC link controller driver, Atsushi Nemoto |
| Next by Thread: | Re: [PATCH] IP32 power button fix for 2.6.30, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |