linux-stable/sound/soc/intel
Colin Ian King 3025571edd
ASoC: Intel: mrfld: return error codes when an error occurs
Currently function sst_platform_get_resources always returns zero and
error return codes set by the function are never returned. Fix this
by returning the error return code in variable ret rather than the
hard coded zero.

Addresses-Coverity: ("Unused value")
Fixes: f533a035e4 ("ASoC: Intel: mrfld - create separate module for pci part")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200208220720.36657-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-02-11 11:25:05 +00:00
..
atom ASoC: Intel: mrfld: return error codes when an error occurs 2020-02-11 11:25:05 +00:00
baytrail ASoC: intel: baytrail: Use managed buffer allocation 2019-12-11 16:43:33 +00:00
boards ASoC: Intel: sof_pcm512x: add support for SOF platforms with pcm512x 2020-02-11 11:20:51 +00:00
common ASoC: Intel: CHT: add support for pcm512x boards 2020-02-11 11:21:31 +00:00
haswell ASoC: intel: haswell: Use managed buffer allocation 2019-12-11 16:43:33 +00:00
skylake sound updates for 5.6-rc1 2020-01-28 16:26:57 -08:00
Kconfig ASoC: Updates for v5.5 2019-11-07 14:12:30 +01:00
Makefile ASoC: Intel: Fix Kconfig with top-level selector 2018-01-08 16:18:48 +00:00