diff options
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c index e428f9e6..9f45c929 100644 --- a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c +++ b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c | |||
@@ -348,7 +348,7 @@ static long gp10b_round_clk_rate(struct device *dev, unsigned long rate) | |||
348 | int i; | 348 | int i; |
349 | 349 | ||
350 | for (i = 0; i < max_states; ++i) | 350 | for (i = 0; i < max_states; ++i) |
351 | if (freq_table[i] >= rate) | 351 | if (freq_table[i] > rate) |
352 | return freq_table[i]; | 352 | return freq_table[i]; |
353 | 353 | ||
354 | return freq_table[max_states - 1]; | 354 | return freq_table[max_states - 1]; |