lkml.org 
[lkml]   [2012]   [Aug]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH]: Updated autosleep.patch
From
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


\
 
 \ /
  Last update: 2012-08-06 19:01    [W:0.067 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site