drm/radeon/kms: fix typo in radeon_compute_pll_gain
Subsystems (2)
PATCH 1/1 drm/radeon/kms: fix typo in radeon_compute_pll_gain
Looks like this got copied from the ddx wrong.
Cc Benjamin Herrenschmidt <[email protected]>
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/radeon/radeon_legacy_crtc.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/gpu/drm/radeon/radeon_legacy_crtc.c +1 -1
@@ -272,7 +272,7 @@ static uint8_t radeon_compute_pll_gain(uint16_t ref_freq, uint16_t ref_div,if (!ref_div)return 1 ; - vcoFreq = ((unsigned )ref_freq & fb_div) / ref_div; + vcoFreq = ((unsigned )ref_freq * fb_div) / ref_div;/* * This is horribly crude: the VCO frequency range is divided into
Signature · 1 line
1.7.1.1