[PATCH] Remove the checks from RHDPLLValid also performed by PLLValid.
RHDPLLValid calls PLLValid, so there's no need for it to perform the same checks itself. --- src/rhd_pll.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/src/rhd_pll.c b/src/rhd_pll.c index e6651a3..6e5c4e4 100644 --- a/src/rhd_pll.c +++ b/src/rhd_pll.c @@ -627,11 +627,6 @@ RHDPLLValid(struct rhdPLL *PLL, CARD32 Clock) { RHDFUNC(PLL); - if (Clock < PLL->PixMin) - return MODE_CLOCK_LOW; - if (Clock > PLL->PixMax) - return MODE_CLOCK_HIGH; - if (PLL->Valid) return PLL->Valid(PLL, Clock); else -- 1.5.3.4 -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
On Oct 18, 07 07:13:09 -0700, Matt Kraai wrote:
RHDPLLValid calls PLLValid, so there's no need for it to perform the same checks itself.
Included in newest commit from Luc.
Thanks
Matthias
--
Matthias Hopf
participants (2)
-
Matt Kraai
-
Matthias Hopf