ASoC: SOF: loader: Use the BAR provided by FW
authorDaniel Baluta <daniel.baluta@nxp.com>
Mon, 22 Jul 2019 14:13:48 +0000 (09:13 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 23 Jul 2019 11:19:46 +0000 (12:19 +0100)
commit7198879ef57775df3b1a75c62bb9e313c56876d4
tree7d62d3edffca4710c370e0222b0b2ce377e9a2ee
parentce8234a6357ec8f81b977d8536ff941dbd4162f3
ASoC: SOF: loader: Use the BAR provided by FW

Make sure to use the newly introduced function snd_sof_dsp_get_bar_index
that converts the section type to appropriate BAR index.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190722141402.7194-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/loader.c