projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77e01d6
)
intel_scu_ipc: fix size field for intel_scu_ipc_command
author
Hong Liu
<hong.liu@intel.com>
Mon, 26 Jul 2010 09:06:31 +0000
(10:06 +0100)
committer
Matthew Garrett
<mjg@redhat.com>
Tue, 3 Aug 2010 13:50:33 +0000
(09:50 -0400)
Size for PMIC read/write command is byte, while it is DWORD for other
IPC commands.
Signed-off-by: Hong Liu <hong.liu@intel.com>
Signed-off-by: ALan Cox <alan@linux.intel.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/intel_scu_ipc.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/platform/x86/intel_scu_ipc.c
b/drivers/platform/x86/intel_scu_ipc.c
index 23b6d46a4b8faa71abafc338084b780cd0d9e499..943f9084dcb11734e73064332f903320478c3c1e 100644
(file)
--- a/
drivers/platform/x86/intel_scu_ipc.c
+++ b/
drivers/platform/x86/intel_scu_ipc.c
@@
-444,7
+444,7
@@
int intel_scu_ipc_command(int cmd, int sub, u32 *in, int inlen,
for (i = 0; i < inlen; i++)
ipc_data_writel(*in++, 4 * i);
- ipc_command((
sub << 12) | cmd | (inlen << 18)
);
+ ipc_command((
inlen << 16) | (sub << 12) | cmd
);
err = busy_loop();
for (i = 0; i < outlen; i++)