OSDN Git Service

ASoC: acpi: define common interface for machine driver configuration
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 1 Nov 2018 21:34:48 +0000 (16:34 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 6 Nov 2018 17:23:33 +0000 (17:23 +0000)
commit8679284b37e9e2d529d60d1acc4133af4aa5dd34
treebc8f519bf5ab6e25572a23c9d2c62601b5a611db
parent25540f68c871d0ed3771b552eb640a1130880ab6
ASoC: acpi: define common interface for machine driver configuration

The machine drivers may need information provided by the platform
driver.  Currently the information is passed using pdata specific to
each plaform driver. This prevents other drivers, such as SOF, from
reusing machine drivers directly.

Add a new structure which contains the required fields.

This proposal requires a bit more work on the platform side but this
generic interface helps reuse code directly.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-acpi.h