]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: sst-acpi: Add support for multiple machine drivers per platform
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Wed, 19 Feb 2014 14:35:58 +0000 (16:35 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 19 Feb 2014 16:42:07 +0000 (01:42 +0900)
commitaeb80dcd0e49c17a0032437685175ca8b5ef222a
tree2226ac218edf7e191e56be82df722dbb1ffd8833
parent7724d6b4411f17dd2d7bc504d499703d9d274ff6
ASoC: Intel: sst-acpi: Add support for multiple machine drivers per platform

Initial implementation of this driver focused only matching SST ACPI ID
with single machine driver and same firmware file per platform. It was known
restriction to be improved incrementally.

This patch is now changing this that SST ACPI ID refers purely to platform
specific data which refers to machine drivers on this platform, not vice
versa.

Matching machine driver is found by looking at ACPI ID which would best
match with the driver. Typically this would be the ACPI ID of audio codec
but is not tied to it.

This patch also changes that DSP firmware name is machine not platform
specific.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/intel/sst-acpi.c