lkml.org 
[lkml]   [2013]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/5] regmap: irq: call pm_runtime_put in pm_runtime_get_sync failed case
On Thu, Feb 28, 2013 at 03:37:11PM +0800, Li Fei wrote:
>
> Even in failed case of pm_runtime_get_sync, the usage_count
> is incremented. In order to keep the usage_count with correct
> value and runtime power management to behave correctly, call
> pm_runtime_put(_sync) in such case.

Oh, that is a surprising interface... anyway, applied thanks.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-03-01 08:42    [W:1.373 / U:1.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site