diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2018-11-01 16:34:50 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-11-06 17:24:05 +0000 |
commit | 3ee1cd4f81e15f51638db80fb9f1371b3bdf05ba (patch) | |
tree | ccdcd4a11735ed5457a9ae297fa549795531c5fb /sound/soc/intel/atom | |
parent | 842bb5135f1016151235413726e4956210a79664 (diff) | |
download | linux-3ee1cd4f81e15f51638db80fb9f1371b3bdf05ba.tar.gz linux-3ee1cd4f81e15f51638db80fb9f1371b3bdf05ba.tar.bz2 linux-3ee1cd4f81e15f51638db80fb9f1371b3bdf05ba.zip |
ASoC: Intel: use standard interface for Atom machine drivers
Don't rely on internal Atom/SST-specific data structures, use
generic interface to let other drivers use the same machine drivers
as is, e.g. SOF to support BYT-CR devices
Tested-by: Hans de Goede <hdegoede@redhat.com>
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>
Diffstat (limited to 'sound/soc/intel/atom')
-rw-r--r-- | sound/soc/intel/atom/sst/sst_acpi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/intel/atom/sst/sst_acpi.c b/sound/soc/intel/atom/sst/sst_acpi.c index c90b04cc071d..ac542535b9d5 100644 --- a/sound/soc/intel/atom/sst/sst_acpi.c +++ b/sound/soc/intel/atom/sst/sst_acpi.c @@ -341,6 +341,10 @@ static int sst_acpi_probe(struct platform_device *pdev) byt_rvp_platform_data.res_info = &bytcr_res_info; } + /* update machine parameters */ + mach->mach_params.acpi_ipc_irq_index = + pdata->res_info->acpi_ipc_irq_index; + plat_dev = platform_device_register_data(dev, pdata->platform, -1, NULL, 0); if (IS_ERR(plat_dev)) { |