diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 276e5c3e..58108d97 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -820,7 +820,8 @@ static int gk20a_pm_finalize_poweron(struct device *dev) | |||
820 | goto done; | 820 | goto done; |
821 | } | 821 | } |
822 | 822 | ||
823 | err = g->ops.pmu.prepare_ucode(g); | 823 | if (g->ops.pmu.prepare_ucode) |
824 | err = g->ops.pmu.prepare_ucode(g); | ||
824 | if (err) { | 825 | if (err) { |
825 | gk20a_err(dev, "failed to init pmu ucode"); | 826 | gk20a_err(dev, "failed to init pmu ucode"); |
826 | goto done; | 827 | goto done; |