diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c index 3fc216a1..dccc5c3e 100644 --- a/drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c +++ b/drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c | |||
@@ -362,7 +362,7 @@ int gp10b_clk_get_freqs(struct device *dev, | |||
362 | if (new_rate == max_rate) | 362 | if (new_rate == max_rate) |
363 | break; | 363 | break; |
364 | } | 364 | } |
365 | freq_counter = i; | 365 | freq_counter = i + 1; |
366 | WARN_ON(freq_counter == GP10B_MAX_SUPPORTED_FREQS); | 366 | WARN_ON(freq_counter == GP10B_MAX_SUPPORTED_FREQS); |
367 | 367 | ||
368 | /* | 368 | /* |