diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-08-17 00:35:45 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-23 08:30:14 +1000 |
commit | 0537398b211b4f040564beec458e23571042d335 (patch) | |
tree | e066281544817d92918f155071b87e7c24099a05 /drivers | |
parent | 039ed2d9a24b3c4e272439b1551762fcb77c188a (diff) | |
download | op-kernel-dev-0537398b211b4f040564beec458e23571042d335.zip op-kernel-dev-0537398b211b4f040564beec458e23571042d335.tar.gz |
drm/radeon/kms: fix typo in radeon_compute_pll_gain
Looks like this got copied from the ddx wrong.
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_legacy_crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_legacy_crtc.c b/drivers/gpu/drm/radeon/radeon_legacy_crtc.c index 989df51..305049a 100644 --- a/drivers/gpu/drm/radeon/radeon_legacy_crtc.c +++ b/drivers/gpu/drm/radeon/radeon_legacy_crtc.c @@ -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 |