All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christopher Sacchi <chris.sacchi@gmail.com>
To: linux-pm@vger.kernel.org
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH]: Updated autosleep.patch
Date: Mon, 6 Aug 2012 16:24:42 +0000	[thread overview]
Message-ID: <CAGh4K3Juk1SRYK363M8YMVD9HnFWO+41r+Uf94rWdM36FQ7LZw@mail.gmail.com> (raw)

This is the patch that fixes a function that could be changed. The
following (above the 2nd to last line, but uder the first line:
--
Signed-off-by: Christopher P. Sacchi <chris.sacchi@gmail.com>
--- linux-3.5/kernel/power/autosleep.c	2012-07-21 20:58:29.000000000 +0000
+++ linux-3.5/kernel/power/autosleep.c	2012-08-06 10:52:26.000000000 +0000
@@ -30,7 +30,7 @@ static void try_to_suspend(struct work_s
 	if (!pm_get_wakeup_count(&initial_count, true))
 		goto out;

-	mutex_lock(&autosleep_lock);
+	mutex_lock_interruptable();

 	if (!pm_save_wakeup_count(initial_count)) {
 		mutex_unlock(&autosleep_lock);
--

-- 
Christopher

             reply	other threads:[~2012-08-06 16:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-06 16:24 Christopher Sacchi [this message]
2012-08-06 19:47 ` [PATCH]: Updated autosleep.patch Rafael J. Wysocki

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=CAGh4K3Juk1SRYK363M8YMVD9HnFWO+41r+Uf94rWdM36FQ7LZw@mail.gmail.com \
    --to=chris.sacchi@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@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: link
Be 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.