From: Alan Stern Date: Wed, 15 Jul 2015 12:40:06 +0000 (+0200) Subject: PM / sleep: Allow devices without runtime PM to do direct-complete X-Git-Tag: omap-for-v4.3/fixes-rc1~121^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=019d8817b1b064c2bacfbcf40fc68184438ad05a;p=pandora-kernel.git PM / sleep: Allow devices without runtime PM to do direct-complete Don't unset the direct_complete flag on devices that have runtime PM disabled, if they are runtime suspended. This is needed because otherwise ancestor devices wouldn't be able to do direct_complete without adding runtime PM support to all its descendants. Also removes pm_runtime_suspended_if_enabled() because it's now unused. Signed-off-by: Tomeu Vizoso Signed-off-by: Alan Stern Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed