linux-stable/sound/soc
Kuninori Morimoto e82ebffce3
ASoC: soc-pcm: don't use bit-OR'ed error
Current soc-pcm is using bit-OR'ed error

	ret |= snd_soc_component_close(component, substream);
	ret |= snd_soc_component_hw_free(component, substream);

The driver may return arbitrary error codes so they can conflict.
The bit-OR'ed error works only if the return code is always consistent.
This patch fixup it, and use *last* ret value.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/877e0vceyc.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-02-11 15:41:44 +00:00
..
adi
amd ASoC: amd: Fix simultaneous playback and capture 2020-01-29 17:48:47 +00:00
atmel ASoC: atmel: atmel_ssc_dai: move .suspend/.resume to component 2020-01-21 17:03:15 +00:00
au1x sound updates for 5.6-rc1 2020-01-28 16:26:57 -08:00
bcm ASoC: bcm: cygnus-ssp: move .suspend/.resume to component 2020-01-21 17:02:56 +00:00
cirrus ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
codecs ASoC: wcd934x: Remove set but not unused variable 'hph_comp_ctrl7' 2020-02-11 11:47:58 +00:00
dwc ASoC: dwc: dwc-i2s: move .suspend/.resume to component 2020-01-21 17:05:35 +00:00
fsl ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
generic
hisilicon
img
intel ASoC: Intel: mrfld: return error codes when an error occurs 2020-02-11 11:25:05 +00:00
jz4740 ASoC: jz4740: jz4740-i2s: move .suspend/.resume to component 2020-01-21 17:03:32 +00:00
kirkwood
mediatek ASoC: mediatek: mt8173-rt5650: support HDMI jack reporting 2020-02-11 11:47:57 +00:00
meson
mxs
pxa ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
qcom ASoC: qdsp6: q6asm-dai: constify copied structure 2020-01-01 21:38:48 +00:00
rockchip
samsung ASoC: samsung: i2s: move .suspend/.resume to component 2020-01-21 17:05:54 +00:00
sh sound updates for 5.6-rc1 2020-01-28 16:26:57 -08:00
sirf
sof ASoC: SOF: Intel: hda: Allow trace DMA in S0 when DSP is in D0I3 for debug 2020-02-11 11:48:08 +00:00
spear
sprd
sti ASoC: sti: sti_uniperif: move .suspend/.resume to component 2020-01-21 17:04:37 +00:00
stm ASoC: stm32: i2s: improve error management on probe deferral 2020-02-11 11:24:43 +00:00
sunxi treewide: remove redundant IS_ERR() before error code check 2020-02-04 03:05:27 +00:00
tegra ASoC: tegra: Revert 24 and 32 bit support 2020-02-02 12:07:47 +00:00
ti ASoC: ti: davinci-mcasp: remove redundant assignment to variable ret 2020-02-11 11:47:59 +00:00
txx9 ASoC: soc-core: remove bus_control 2020-01-21 17:07:08 +00:00
uniphier ASoC: uniphier: move .suspend/.resume to component 2020-01-21 17:05:16 +00:00
ux500 ASoC: ux500: ux500_msp_dai: remove unused DAI .suspend/.resume 2020-01-21 17:06:13 +00:00
xilinx
xtensa
zte
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-component.c ASoC: Fixes for v5.5 2020-01-16 14:14:26 +01:00
soc-compress.c ASoC: soc-pcm/soc-compress: use snd_soc_dapm_stream_stop() for SND_SOC_DAPM_STREAM_STOP 2020-01-10 13:34:19 +00:00
soc-core.c ASoC: soc-core: remove null_snd_soc_ops 2020-01-23 12:20:06 +00:00
soc-dai.c ASoC: soc-core: remove DAI suspend/resume 2020-01-21 17:06:41 +00:00
soc-dapm.c ASoC: soc-pcm: add for_each_dapm_widgets() macro 2020-02-11 15:41:16 +00:00
soc-devres.c
soc-generic-dmaengine-pcm.c Merge branch 'asoc-5.6' into asoc-next 2020-01-23 12:36:45 +00:00
soc-io.c
soc-jack.c
soc-ops.c
soc-pcm.c ASoC: soc-pcm: don't use bit-OR'ed error 2020-02-11 15:41:44 +00:00
soc-topology.c Merge branch 'asoc-5.6' into asoc-next 2020-01-23 12:36:45 +00:00
soc-utils.c