Commit e7302a10 authored by Dave Jones's avatar Dave Jones

[CPUFREQ] powernow-k7.c: Zeropad the VID or we get 1.50V instead of 1.050V

parent 3f669609
...@@ -198,7 +198,7 @@ static int get_ranges (unsigned char *pst) ...@@ -198,7 +198,7 @@ static int get_ranges (unsigned char *pst)
vid = *pst++; vid = *pst++;
powernow_table[j].index |= (vid << 8); /* upper 8 bits */ powernow_table[j].index |= (vid << 8); /* upper 8 bits */
dprintk ("VID: 0x%x (%d.%dV)\n", vid, mobile_vid_table[vid]/1000, dprintk ("VID: 0x%x (%d.%03dV)\n", vid, mobile_vid_table[vid]/1000,
mobile_vid_table[vid]%1000); mobile_vid_table[vid]%1000);
} }
dprintk ("\n"); dprintk ("\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment