Messages in this thread | | | From | Ohad Ben-Cohen <> | Date | Mon, 8 Apr 2013 15:48:52 +0300 | Subject | Re: [PATCH 2/5 V2] mmc: core: call pm_runtime_put_noidle in pm_runtime_get_sync failed case |
| |
On Mon, Apr 8, 2013 at 4:36 AM, Li Fei <fei.li@intel.com> 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@intel.com> > Signed-off-by: Li Fei <fei.li@intel.com>
Acked-by: Ohad Ben-Cohen <ohad@wizery.com>
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.
| |