summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c
index 19a05c90..2c1709ea 100644
--- a/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c
+++ b/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c
@@ -303,7 +303,7 @@ static void gm20b_tegra_postscale(struct device *dev, unsigned long freq)
303 struct gk20a_emc_params *emc_params; 303 struct gk20a_emc_params *emc_params;
304 unsigned long emc_rate; 304 unsigned long emc_rate;
305 305
306 if (!profile) 306 if (!profile || !profile->private_data)
307 return; 307 return;
308 308
309 emc_params = profile->private_data; 309 emc_params = profile->private_data;