From: Sebastian Ott Date: Wed, 8 Jul 2009 11:26:05 +0000 (+0200) Subject: PM: Clear -EAGAIN in dpm_prepare X-Git-Tag: v2.6.31-rc3~52^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=886a7a3371da8ee46a13f8e598a536bd8765b837;p=pandora-kernel.git PM: Clear -EAGAIN in dpm_prepare When the last device in the dpm list is unregistered directly after its prepare() callback returned with -EAGAIN, the return code is passed to the calling function, resulting in a suspend failure. Prevent this by clearing the return code after -EAGAIN. Signed-off-by: Sebastian Ott Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed