diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2021-09-15 08:55:40 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-09-15 14:10:12 +0200 |
commit | 7e7d5ffa37e34ec2a6e8aa2e1fd846fb296fc8a1 (patch) | |
tree | 3ca8e2ae2a79df46f42e4f2f7bcd622589734c39 /sound/soc/sof/intel/pci-icl.c | |
parent | Merge series "Patches to update for rockchip pdm" from Sugar Zhang <sugar.zha... (diff) | |
download | linux-7e7d5ffa37e34ec2a6e8aa2e1fd846fb296fc8a1.tar.xz linux-7e7d5ffa37e34ec2a6e8aa2e1fd846fb296fc8a1.zip |
ASoC: SOF: intel: Do no initialize resindex_dma_base
.resindex_dma_base is not used by the code and in all instances it is set
to -1.
To make it possible to remove it from the sof_dev_desc struct, first remove
all references from the intel drivers (initialization).
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20210915065541.1178-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel/pci-icl.c')
-rw-r--r-- | sound/soc/sof/intel/pci-icl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/sof/intel/pci-icl.c b/sound/soc/sof/intel/pci-icl.c index 2f60c28ae81f..39c84121b313 100644 --- a/sound/soc/sof/intel/pci-icl.c +++ b/sound/soc/sof/intel/pci-icl.c @@ -27,7 +27,6 @@ static const struct sof_dev_desc icl_desc = { .resindex_pcicfg_base = -1, .resindex_imr_base = -1, .irqindex_host_ipc = -1, - .resindex_dma_base = -1, .chip_info = &icl_chip_info, .default_fw_path = "intel/sof", .default_tplg_path = "intel/sof-tplg", @@ -43,7 +42,6 @@ static const struct sof_dev_desc jsl_desc = { .resindex_pcicfg_base = -1, .resindex_imr_base = -1, .irqindex_host_ipc = -1, - .resindex_dma_base = -1, .chip_info = &jsl_chip_info, .default_fw_path = "intel/sof", .default_tplg_path = "intel/sof-tplg", |