commit | dc60f125b9d3143c8441a99e09e7285b2406d141 | [log] [tgz] |
---|---|---|
author | Pavankumar Kondeti <pkondeti@codeaurora.org> | Tue Sep 13 11:17:16 2011 +0530 |
committer | Bryan Huntsman <bryanh@codeaurora.org> | Tue Oct 04 17:13:36 2011 -0700 |
tree | 9b24cc96d890c460392945b5555e33d5307482af | |
parent | 06e3cdb2a1a69b8716ee95570b5e95380827ed18 [diff] |
USB: msm_otg: Increment PM usage counter for suspend failure cases The current code does not return error from runtime_suspend hook, even if fail to enter into low power mode. OTG driver will not increment PM runtime usage counter outside LPM. Runtime PM thinks, our device is in LPM and ignores the subsequent PM usage decrements. Hence increment the PM usage counter explicitly if suspend fails. Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>