diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c index 9d52c943..f0ce3c9a 100644 --- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | |||
@@ -1760,6 +1760,7 @@ static int pmu_queue_open_write(struct pmu_gk20a *pmu, | |||
1760 | 1760 | ||
1761 | if (!pmu_queue_has_room(pmu, queue, size, &rewind)) { | 1761 | if (!pmu_queue_has_room(pmu, queue, size, &rewind)) { |
1762 | gk20a_err(dev_from_gk20a(gk20a_from_pmu(pmu)), "queue full"); | 1762 | gk20a_err(dev_from_gk20a(gk20a_from_pmu(pmu)), "queue full"); |
1763 | pmu_queue_unlock(pmu, queue); | ||
1763 | return -EAGAIN; | 1764 | return -EAGAIN; |
1764 | } | 1765 | } |
1765 | 1766 | ||