Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360898
b: refs/heads/master
c: f5f43dc
h: refs/heads/master
v: v3
  • Loading branch information
Emilio López authored and Rafael J. Wysocki committed Mar 4, 2013
1 parent 5b912c3 commit de0d43c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4b87581036849723242cadaa161e9b01234ef9ae
refs/heads/master: f5f43dcfff3a3c7f7de4a0cfca0106a0ccd58bd7
8 changes: 1 addition & 7 deletions trunk/drivers/cpufreq/highbank-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,7 @@

static int hb_voltage_change(unsigned int freq)
{
int i;
u32 msg[HB_CPUFREQ_IPC_LEN];

msg[0] = HB_CPUFREQ_CHANGE_NOTE;
msg[1] = freq / 1000000;
for (i = 2; i < HB_CPUFREQ_IPC_LEN; i++)
msg[i] = 0;
u32 msg[HB_CPUFREQ_IPC_LEN] = {HB_CPUFREQ_CHANGE_NOTE, freq / 1000000};

return pl320_ipc_transmit(msg);
}
Expand Down

0 comments on commit de0d43c

Please sign in to comment.