android_kernel_oneplus_msm8998/sound/soc/intel
Christophe JAILLET abbdead1dd ASoC: Intel: sst: Fix the return value of 'sst_send_byte_stream_mrfld()'
[ Upstream commit eaadb1caa966a91128297b754e90b7c92b350a00 ]

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>
2018-04-13 19:50:14 +02:00
..
atom ASoC: Intel: sst: Fix the return value of 'sst_send_byte_stream_mrfld()' 2018-04-13 19:50:14 +02:00
baytrail ASoC: Intel: sst_byt: fix initialize 'NULL device *' issue 2015-07-29 14:55:16 +01:00
boards ASoC: Intel: cht_bsw_rt5645: Analog Mic support 2018-04-13 19:50:13 +02:00
common ASoC: Intel: sst: only use sst-firmware when DW DMAC is available 2015-10-22 14:01:51 +01:00
haswell Merge remote-tracking branches 'asoc/fix/davinci', 'asoc/fix/doc', 'asoc/fix/fsl-card', 'asoc/fix/fsl-ssi', 'asoc/fix/intel' and 'asoc/fix/maintainers' into asoc-linus 2015-09-23 11:01:03 -07:00
skylake ASoC: Intel: Skylake: Uninitialized variable in probe_codec() 2018-03-24 10:58:43 +01:00
Kconfig ASoC: Intel: Kconfig: fix build when ACPI is not enabled 2018-02-25 11:03:51 +01:00
Makefile ASoC: Intel: Add makefile support for SKL driver 2015-07-09 11:54:26 +01:00