ASoC: Intel: Refactor common IPC/mailbox code into generic APIs
authorJin Yao <yao.jin@linux.intel.com>
Tue, 7 Apr 2015 01:33:30 +0000 (09:33 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 10 Apr 2015 18:00:37 +0000 (19:00 +0100)
commita33c1ec5cf82efb76f0e7339b13f11cfb53a2a2f
tree55d65260a66476cf556ba71a58a14f77aea7ccef
parent75afbd052b3675e9b812f9327e19be63f3e7b5de
ASoC: Intel: Refactor common IPC/mailbox code into generic APIs

Currently in Intel SST driver, some similar IPC/mailbox processing
code are used in different platforms (e.g. in baytrail/broadwell).

This patch extracts the common code and creates new files
(sst-ipc.c/sst-ipc.h) to contain the common code and provide the generic
APIs for IPC/mailbox processing.

Signed-off-by: Jin Yao <yao.jin@linux.intel.com>
Acked-by: Jie Yang <yang.jie@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/Makefile
sound/soc/intel/common/sst-ipc.c [new file with mode: 0644]
sound/soc/intel/common/sst-ipc.h [new file with mode: 0644]