summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/therm/thrmpmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrmpmu.c')
-rw-r--r--drivers/gpu/nvgpu/therm/thrmpmu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/therm/thrmpmu.c b/drivers/gpu/nvgpu/therm/thrmpmu.c
index 7814cf5e..e23d1d63 100644
--- a/drivers/gpu/nvgpu/therm/thrmpmu.c
+++ b/drivers/gpu/nvgpu/therm/thrmpmu.c
@@ -43,11 +43,12 @@ static void therm_pmucmdhandler(struct gk20a *g, struct pmu_msg *msg,
43 return; 43 return;
44 } 44 }
45 45
46 if (!phandlerparams->prpccall->b_supported) 46 if (!phandlerparams->prpccall->b_supported) {
47 nvgpu_err(g, "RPC msg %x failed", 47 nvgpu_err(g, "RPC msg %x failed",
48 msg->msg.pmgr.msg_type); 48 msg->msg.pmgr.msg_type);
49 else 49 } else {
50 phandlerparams->success = 1; 50 phandlerparams->success = 1;
51 }
51} 52}
52 53
53int therm_send_pmgr_tables_to_pmu(struct gk20a *g) 54int therm_send_pmgr_tables_to_pmu(struct gk20a *g)