[PATCH 11/13] drm/i915/skl: Don't try to store the wrong central frequency

Damien Lespiau
2015-05-07T17:39:00Z

The orignal code started by storing the actual central frequency (in Hz,
using a uint64_t) in a uint32_t which codes for the register value. That
can't be right.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
drivers/gpu/drm/i915/intel_ddi.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c
index f3c5b49..a99fee1 100644
--- a/drivers/gpu/drm/i915/intel_ddi.c
+++ b/drivers/gpu/drm/i915/intel_ddi.c
@@ -1117,8 +1117,6 @@ static void skl_wrpll_params_populate(struct skl_wrpll_params *params,
{
uint64_t dco_freq;

- params->central_freq = central_freq;
-
switch (central_freq) {
case 9600000000ULL:
params->central_freq = 0;
--
2.1.0