lineage_android_kernel_xiao.../sound
Christophe JAILLET 29a63b0372 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:48:11 +02:00
..
aoa
arm
atmel
core ALSA: pcm: potential uninitialized return values 2018-04-08 12:12:41 +02:00
drivers ALSA: aloop: Fix access to not-yet-ready substream via cable 2018-03-28 18:39:19 +02:00
firewire ALSA: firewire-digi00x: handle all MIDI messages on streaming packets 2018-03-22 09:17:48 +01:00
hda
i2c
isa
mips
oss
parisc
pci ALSA: hda/realtek - Always immediately update mute LED with pin VREF 2018-03-28 18:39:19 +02:00
pcmcia
ppc
sh
soc ASoC: Intel: sst: Fix the return value of 'sst_send_byte_stream_mrfld()' 2018-04-13 19:48:11 +02:00
sparc
spi
synth
usb ALSA: usb-audio: Add native DSD support for TEAC UD-301 2018-04-08 12:12:41 +02:00
Kconfig
Makefile
ac97_bus.c
last.c
sound_core.c