Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1620228

Re: [PATCH 1/2] PM / Runtime: fix autosuspend documentation

From Tony Lindgren <tony@atomide.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] PM / Runtime: fix autosuspend documentation
Date 2017-04-10 18:40 +0200
Message-ID <tuKwa-38R-1@gated-at.bofh.it> (permalink)
References <tuFPP-8ur-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Johan Hovold <johan@kernel.org> [170410 04:41]:
> Update the autosuspend documentation which claimed that the autosuspend
> delay is not taken into account when using the non-autosuspend helper
> functions, something which is no longer true since commit d66e6db28df3
> ("PM / Runtime: Respect autosuspend when idle triggers suspend").
> 
> This specifically means that drivers must now disable autosuspend before
> disabling runtime pm in probe error paths and remove callbacks if
> pm_runtime_put_sync was being used to suspend the device before
> returning. (If an idle callback can prevent suspend,
> pm_runtime_put_sync_suspend must be used instead of pm_runtime_put_sync
> as before.)
> 
> Also remove the claim that the autosuspend helpers behave "just like
> the non-autosuspend counterparts", something which have never really
> been true as some of the latter use idle notifications.
> 
> Signed-off-by: Johan Hovold <johan@kernel.org>

Acked-by: Tony Lindgren <tony@atomide.com>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] PM / Runtime: fix autosuspend documentation Johan Hovold <johan@kernel.org> - 2017-04-10 13:40 +0200
  Re: [PATCH 1/2] PM / Runtime: fix autosuspend documentation Tony Lindgren <tony@atomide.com> - 2017-04-10 18:40 +0200

csiph-web