linux_dsm_epyc7002/sound/soc/sof
Takashi Iwai 54d198d501
ASoC: SOF: Propagate sof_get_ctrl_copy_params() error properly
This fixes a compile warning below by properly handling the error code
from sof_get_ctrl_copy_params():
  include/linux/kernel.h:843:43: warning: 'sparams.pl_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
  sound/soc/sof/ipc.c:639:34: note: 'sparams.pl_size' was declared here

The function returns an error before setting sparams.pl_size, so it'd
assign an uninitialized value at a later point.

Fixes: 53e0c72d98 ("ASoC: SOF: Add support for IPC IO between DSP and Host")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-05-08 15:20:25 +09:00
..
intel ASoC: SOF: Intel: CNL: add ipc dump function 2019-05-03 15:03:16 +09:00
xtensa ASoC: SOF: Add xtensa support 2019-04-28 02:49:31 +09:00
control.c ASoC: SOF: Add Sound Open Firmware KControl support 2019-04-28 02:47:50 +09:00
core.c
debug.c ASoC: SOF: Add driver debug support. 2019-04-28 02:47:54 +09:00
ipc.c ASoC: SOF: Propagate sof_get_ctrl_copy_params() error properly 2019-05-08 15:20:25 +09:00
Kconfig ASoC: sound/soc/sof/: fix kconfig dependency warning 2019-05-07 11:23:13 +09:00
loader.c ASoC: SOF: Add firmware loader support 2019-04-28 02:48:21 +09:00
Makefile ASoC: SOF: Add Build support for SOF core and Intel drivers 2019-04-28 02:51:46 +09:00
nocodec.c ASoC: SOF: Add Nocodec machine driver support 2019-04-28 02:49:26 +09:00
ops.c ASoC: SOF: Fix a compile warning with CONFIG_PCI=n 2019-05-07 11:23:57 +09:00
ops.h ASoC: SOF: IPC: add ipc dump function 2019-05-03 15:02:16 +09:00
pcm.c ASoC: SOF: PCM: add period_elapsed work to fix race condition in interrupt context 2019-05-03 14:59:11 +09:00
pm.c ASoC: SOF: intel: hda: add hw_params_upon_resume flag for hda stream 2019-05-03 15:01:45 +09:00
sof-acpi-dev.c ASoC: SOF: Add ACPI device support 2019-04-28 02:51:01 +09:00
sof-pci-dev.c ASoC: SOF: Add PCI device support 2019-04-28 02:51:05 +09:00
sof-priv.h ASoC: SOF: IPC: add ipc dump function 2019-05-03 15:02:16 +09:00
topology.c ASoC: SOF: topology: add support for stricter ABI checks 2019-05-03 14:56:31 +09:00
trace.c ASoC: SOF: Add DSP firmware logger support 2019-04-28 02:48:10 +09:00
utils.c ASoC: SOF: Add utils 2019-04-28 02:49:47 +09:00