Re: [PATCH 1/5] regmap: irq: call pm_runtime_put inpm_runtime_get_sync failed case

From: Mark Brown
Date: Fri Mar 01 2013 - 01:56:35 EST


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.

Attachment: signature.asc
Description: Digital signature