Re: [PATCH 2/5 V2] mmc: core: call pm_runtime_put_noidle inpm_runtime_get_sync failed case

From: Ohad Ben-Cohen
Date: Mon Apr 08 2013 - 08:49:21 EST


On Mon, Apr 8, 2013 at 4:36 AM, Li Fei <fei.li@xxxxxxxxx> 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_noidle in such case.
>
> Signed-off-by Liu Chuansheng <chuansheng.liu@xxxxxxxxx>
> Signed-off-by: Li Fei <fei.li@xxxxxxxxx>

Acked-by: Ohad Ben-Cohen <ohad@xxxxxxxxxx>

BTW, Li, could you please move to _noidle in those other places where
your previous patch was already applied? I think we have at least the
12xx driver (cc'ing Luca).

Thanks!
Ohad.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/