]> git.baikalelectronics.ru Git - kernel.git/commit
intel_scu_ipc: move local memory initialization out of a mutex
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 13 Jul 2015 14:44:54 +0000 (16:44 +0200)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 14 Jul 2015 18:02:44 +0000 (11:02 -0700)
commit95967e958d55621936074098dc8f7a5aea914a5a
treec3c47f0ce7ab0effb2684e6b529e3eef2675d0fa
parent8d62a8341f68746d839e42e838ff18ad03e06652
intel_scu_ipc: move local memory initialization out of a mutex

'{ }' and memset will both reset the cbuf buffer.
Only once is enough and this can be done outside fo the mutex.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/intel_scu_ipc.c