mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
drm/radeon/kms: fix typo in radeon_compute_pll_gain
commit 0537398b21 upstream.
Looks like this got copied from the ddx wrong.
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
521f4161ab
commit
cbe351a4e7
@@ -261,7 +261,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
|
||||
|
||||
Reference in New Issue
Block a user