linux/sound/soc/intel
Christophe JAILLET 87b9099cf1 ASoC: Intel: sst: Fix the return value of 'sst_send_byte_stream_mrfld()'
[ Upstream commit eaadb1caa9 ]

In some error handling paths, an error code is assiegned to 'ret'.
However, the function always return 0.

Fix it and return the error code if such an error paths is taken.

Fixes: 3d9ff34622 ("ASoC: Intel: sst: add stream operations")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2018-04-12 12:32:17 +02:00
..
atom ASoC: Intel: sst: Fix the return value of 'sst_send_byte_stream_mrfld()' 2018-04-12 12:32:17 +02:00
baytrail ASoC: intel: constify snd_pcm_ops structures 2017-08-14 17:23:08 +01:00
boards ASoC: Intel: cht_bsw_rt5645: Analog Mic support 2018-04-12 12:32:14 +02:00
common ASoC: acpi: fix machine driver selection based on quirk 2018-02-22 15:42:33 +01:00
haswell ASoC: Intel: make snd_soc_platform_driver const 2017-08-14 17:22:29 +01:00
skylake ASoC: Intel: Skylake: Disable clock gating during firmware and library download 2018-04-12 12:32:14 +02:00
Kconfig ASoC: Intel: kbl_rt5663_rt5514_max98927: Add rt5514 spi dailink 2017-08-17 15:25:08 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00