diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2014-05-19 02:17:05 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:09:23 -0400 |
commit | 88ca9b50f6a1f62986dad4c72f023a5f757b967f (patch) | |
tree | ba44a5d1f7afb23709ed4d27d24b3f9b26acad7f /drivers/gpu/nvgpu/gk20a/gk20a.h | |
parent | effa9dcfaa5220c6e59d421e1e3c90a97b86dc74 (diff) |
gpu: nvgpu: Balance usage count on resume fail
If PM runtime resume fails, pm_runtime_get_sync() still increments
the usage count. Balance the usage count by decrementing it on
fail.
Bug 200003289
Change-Id: I127d2697ff2601d4884a4ecfdec8ad50894bf7d0
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/411285
(cherry picked from commit 736846ff999bb9d1ca3340fc02ab49f8c65c4145)
Reviewed-on: http://git-master/r/411473
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
0 files changed, 0 insertions, 0 deletions