mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
intel_scu_ipc: Length fix
Commands with data must set the length in the message. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
076dab234d
commit
2e8949f09e
1 changed files with 1 additions and 1 deletions
|
@ -524,7 +524,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(cmd << 12 | sub);
|
||||
ipc_command((cmd << 12) | sub | (inlen << 18));
|
||||
err = busy_loop();
|
||||
|
||||
for (i = 0; i < outlen; i++)
|
||||
|
|
Loading…
Reference in a new issue