ASoC: Intel: Fix Baytrail SST DSP firmware loading
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Tue, 13 May 2014 12:46:06 +0000 (15:46 +0300)
committerMark Brown <broonie@linaro.org>
Tue, 13 May 2014 17:21:02 +0000 (18:21 +0100)
commitcffd6665f57ed18f4be9185c4330c8c98c22e201
tree27a4d84854848e55326844e5a00b4de05ed70923
parent2b39aab18a84b2fa348d42d894ef986b290d67a0
ASoC: Intel: Fix Baytrail SST DSP firmware loading

Commit 10df350977b1 ("ASoC: Intel: Fix Audio DSP usage when IOMMU is
enabled.") caused following regression in Baytrail SST:

baytrail-pcm-audio baytrail-pcm-audio: error: DMA alloc failed
baytrail-pcm-audio baytrail-pcm-audio: error: failed to load firmware

Fix this by calling dma_coerce_mask_and_coherent() in sst_byt_init() with
the same dma_dev device what is now used in sst_fw_new() when allocating the
DMA buffer.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/intel/sst-baytrail-dsp.c