Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Alan Cox and committed by
Linus Torvalds
2e8949f0 076dab23

+1 -1
+1 -1
drivers/platform/x86/intel_scu_ipc.c
··· 524 524 for (i = 0; i < inlen; i++) 525 525 ipc_data_writel(*in++, 4 * i); 526 526 527 - ipc_command(cmd << 12 | sub); 527 + ipc_command((cmd << 12) | sub | (inlen << 18)); 528 528 err = busy_loop(); 529 529 530 530 for (i = 0; i < outlen; i++)