diff options
| author | Sascha Hauer <[email protected]> | 2022-03-04 12:52:54 +0000 |
|---|---|---|
| committer | Abel Vesa <[email protected]> | 2022-03-04 15:06:30 +0000 |
| commit | 5ff50031cb8852bfcf587d003ba6bad3c2336852 (patch) | |
| tree | 242ddcc9801be75516fece36d5c61b2a717418e1 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | clk: imx: pll14xx: name variables after usage (diff) | |
| download | kernel-5ff50031cb8852bfcf587d003ba6bad3c2336852.tar.gz kernel-5ff50031cb8852bfcf587d003ba6bad3c2336852.zip | |
clk: imx: pll14xx: explicitly return lowest rate
clk_pll14xx_round_rate() returns the lowest rate by indexing into
the rate table with the variable i. i is actually pll->rate_count
as this is the value we come out of the loop with. Use pll->rate_count
explicitly to make it a bit more clear what is being done. While at
it fix a typo in the comment. No functional change.
Signed-off-by: Sascha Hauer <[email protected]>
Reviewed-by: Abel Vesa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Abel Vesa <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
