From: Ming Lei Date: Wed, 12 Oct 2011 20:59:33 +0000 (+0200) Subject: PM / Runtime: Handle .runtime_suspend() failure correctly X-Git-Tag: v3.2-rc1~178^2~20^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=857b36c7b038ac56a882ee914df93e5985443074;p=pandora-kernel.git PM / Runtime: Handle .runtime_suspend() failure correctly If .runtime_suspend() returns -EAGAIN or -EBUSY, the device should still be in ACTIVE state, so it is not necessary to send an idle notification to its parent. If .runtime_suspend() returns other fatal failure, it doesn't make sense to send idle notification to its parent. Skip parent idle notification when failure is returned from .runtime_suspend() and update comments in rpm_suspend() to reflect that change. [rjw: Modified the subject and changelog slightly.] Signed-off-by: Ming Lei Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed