diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2010-08-10 10:27:57 +0100 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2010-08-10 14:34:55 +0400 |
commit | 08a9e07e3fcfcd8df23b57edef8c6876f51020a1 (patch) | |
tree | f7363671aee6de8c20b33025165a3fce61534f71 /drivers/power | |
parent | 690e85a3957291f4cfe0cac22d97994ec7e5ee45 (diff) | |
download | linux-3.10-08a9e07e3fcfcd8df23b57edef8c6876f51020a1.tar.gz linux-3.10-08a9e07e3fcfcd8df23b57edef8c6876f51020a1.tar.bz2 linux-3.10-08a9e07e3fcfcd8df23b57edef8c6876f51020a1.zip |
intel_mid_battery: Fix the argument order to intel_scu_ipc_command
The arguments to intel_scu_ipc_command are "command, subcommand"
the battery driver got this the wrong way around.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/intel_mid_battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/intel_mid_battery.c b/drivers/power/intel_mid_battery.c index 46730f579d7..6430a7bb637 100644 --- a/drivers/power/intel_mid_battery.c +++ b/drivers/power/intel_mid_battery.c @@ -168,7 +168,7 @@ struct battery_property { */ static int pmic_scu_ipc_battery_cc_read(u32 *value) { - return intel_scu_ipc_command(IPC_CMD_CC_RD, IPCMSG_BATTERY, + return intel_scu_ipc_command(IPCMSG_BATTERY, IPC_CMD_CC_RD, NULL, 0, value, 1); } |