acrn-kernel/sound/soc/amd/acp
Vijendar Mukunda 3122e90b5c ASoC: amd: acp: fix for invalid dai id handling in acp_get_byte_count()
[ Upstream commit 85aeab3622 ]

For invalid dai id, instead of returning -EINVAL
return bytes count as zero in acp_get_byte_count() function.

Fixes: 623621a9f9 ("ASoC: amd: Add common framework to support I2S on ACP SOC")

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20230626105356.2580125-6-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-27 08:50:36 +02:00
..
Kconfig
Makefile
acp-i2s.c
acp-legacy-mach.c
acp-mach-common.c
acp-mach.h
acp-pci.c
acp-pdm.c
acp-platform.c
acp-rembrandt.c
acp-renoir.c
acp-sof-mach.c
amd.h ASoC: amd: acp: fix for invalid dai id handling in acp_get_byte_count() 2023-07-27 08:50:36 +02:00
chip_offset_byte.h