summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/gp10b/gr_gp10b.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
index 8d02c8f6..4d7c6d69 100644
--- a/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/gr_gp10b.c
@@ -1969,6 +1969,7 @@ static int gr_gp10b_get_cilp_preempt_pending_chid(struct gk20a *g, int *__chid)
1969 1969
1970 tsg = tsg_gk20a_from_ch(ch); 1970 tsg = tsg_gk20a_from_ch(ch);
1971 if (!tsg) { 1971 if (!tsg) {
1972 gk20a_channel_put(ch);
1972 return -EINVAL; 1973 return -EINVAL;
1973 } 1974 }
1974 1975