x86: baytrail: Correct the comment of IACORE_VIDS bit ranges
authorBin Meng <bmeng.cn@gmail.com>
Thu, 24 May 2018 10:05:59 +0000 (03:05 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 13 Jun 2018 01:50:57 +0000 (09:50 +0800)
The guaranteed vid bit ranges in IACORE_VIDS MSR is actually
[22:16]. This corrects the comment for it.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/baytrail/cpu.c

index 29baf087aa07d7dd6f6ede90e7dc082471a85c60..56e98131d7574d887af17ca888f3bbe15e38a51d 100644 (file)
@@ -80,7 +80,7 @@ static void set_max_freq(void)
        perf_ctl.lo = (msr.lo & 0x3f0000) >> 8;
 
        /*
-        * Set guaranteed vid [21:16] from IACORE_VIDS to bits [7:0] of
+        * Set guaranteed vid [22:16] from IACORE_VIDS to bits [7:0] of
         * the PERF_CTL
         */
        msr = msr_read(MSR_IACORE_VIDS);