linux/sound/soc/amd
Vijendar Mukunda 8e7b00649d 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>
History 2023-07-27 08:56:52 +02:00
..
acp ASoC: amd: acp: fix for invalid dai id handling in acp_get_byte_count() 2023-07-27 08:56:52 +02:00
include ASoC: AMD : add ACP 2.2 register headers 2016-01-10 12:44:10 +00:00
ps ASoC: amd: ps: fix for acp_lock access in pdm driver 2023-05-30 13:43:27 +01:00
raven ASoC: amd: raven: acp3x-pcm-dma: Convert to platform remove callback returning void 2023-03-20 13:07:15 +00:00
renoir ASoC: amd: raven: acp3x-pdm-dma: Convert to platform remove callback returning void 2023-03-20 13:07:16 +00:00
rpl ASoC: amd: enable RPL Platform acp drivers build 2022-07-21 23:25:19 +01:00
vangogh ASoC: amd: vangogh: acp5x-pcm-dma: Convert to platform remove callback returning void 2023-03-20 13:07:17 +00:00
yc ASoC: amd: yc: Add Thinkpad Neo14 to quirks list for acp6x 2023-05-31 12:24:59 +01:00
acp-config.c ASoC: amd: acp: Add support for rt5682s and rt1019 card with hs instance 2022-06-06 12:35:01 +01:00
acp-da7219-max98357a.c ASoC: amd: Drop da7219_aad_jack_det() usage 2022-11-07 13:58:17 +00:00
acp-es8336.c ASoC: amd: acp-es8336: Drop reference count of ACPI device after use 2023-01-12 12:23:32 +00:00
acp-pcm-dma.c ASoC: amd: acp-pcm-dma: Convert to platform remove callback returning void 2023-03-20 13:07:11 +00:00
acp-rt5645.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
acp.h ASoC: amd: add I2S MICSP instance support 2022-07-05 13:00:44 +01:00
acp3x-rt5682-max9836.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
Kconfig ASoC: amd: Add check for acp config flags 2023-04-12 12:52:01 +01:00
mach-config.h ASoC: amd: acp: Add support for nau8825 and max98360 card 2022-06-06 12:35:00 +01:00
Makefile ASoC: amd: enable Pink Sardine acp6.2 drivers build 2022-08-29 23:14:14 +01:00