Skip to content

Commit

Permalink
Merge branch 'cpufreq-next' of git://git.linaro.org/people/vireshk/li…
Browse files Browse the repository at this point in the history
…nux into pm-cpufreq-arm

Pull ARM cpufreq fixes from Viresh Kumar.

* 'cpufreq-next' of git://git.linaro.org/people/vireshk/linux:
  cpufreq: s3c2416: fix forgotten driver_data conversions
  • Loading branch information
Rafael J. Wysocki committed Jun 24, 2013
2 parents 9e895ac + 166b9ad commit 9b77df5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/cpufreq/s3c2416-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ static void __init s3c2416_cpufreq_cfg_regulator(struct s3c2416_data *s3c_freq)
if (freq->frequency == CPUFREQ_ENTRY_INVALID)
continue;

dvfs = &s3c2416_dvfs_table[freq->index];
dvfs = &s3c2416_dvfs_table[freq->driver_data];
found = 0;

/* Check only the min-voltage, more is always ok on S3C2416 */
Expand Down Expand Up @@ -462,7 +462,7 @@ static int __init s3c2416_cpufreq_driver_init(struct cpufreq_policy *policy)
freq = s3c_freq->freq_table;
while (freq->frequency != CPUFREQ_TABLE_END) {
/* special handling for dvs mode */
if (freq->index == 0) {
if (freq->driver_data == 0) {
if (!s3c_freq->hclk) {
pr_debug("cpufreq: %dkHz unsupported as it would need unavailable dvs mode\n",
freq->frequency);
Expand Down

0 comments on commit 9b77df5

Please sign in to comment.