linux/sound/soc/amd
Syed Saba Kareem ed2232d491
ASoC: amd: acp: fix for i2s mode register field update
I2S mode register field will be set to 1 when tdm mode is enabled.
Update the I2S mode field based on tdm_mode flag check.

This will fix below smatch checker warning.

sound/soc/amd/acp/acp-i2s.c:59 acp_set_i2s_clk()
	warn: odd binop '0x0 & 0x2'

Fixes: 40f74d5f09 ("ASoC: amd: acp: refactor acp i2s clock
	generation code")

Reported-By: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Syed Saba Kareem <Syed.SabaKareem@amd.com>
Link: https://lore.kernel.org/r/20231031135949.1064581-3-Syed.SabaKareem@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-10-31 14:26:11 +00:00
..
acp ASoC: amd: acp: fix for i2s mode register field update 2023-10-31 14:26:11 +00:00
include
ps ASoC: amd: ps: enable wake capability for acp pci driver 2023-10-17 12:59:17 +01:00
raven ASoC: amd: convert not to use asoc_xxx() 2023-09-25 14:16:17 +02:00
renoir ASoC: amd: update pm_runtime enable sequence 2023-06-23 11:07:39 +01:00
rpl ASoC: amd: enable RPL Platform acp drivers build 2022-07-21 23:25:19 +01:00
vangogh ASoC: amd: convert not to use asoc_xxx() 2023-09-25 14:16:17 +02:00
yc ASoC: amd: yc: Fix non-functional mic on Lenovo 82YM 2023-10-02 16:17:44 +01:00
acp3x-rt5682-max9836.c ASoC: amd: convert not to use asoc_xxx() 2023-09-25 14:16:17 +02:00
acp-config.c ASoC: amd: Add acpi machine id for acp6.3 version based platform 2023-10-23 13:29:53 +01:00
acp-da7219-max98357a.c ASoC: amd: convert not to use asoc_xxx() 2023-09-25 14:16:17 +02:00
acp-es8336.c ASoC: amd: convert not to use asoc_xxx() 2023-09-25 14:16:17 +02:00
acp-pcm-dma.c ASoC: amd: convert not to use asoc_xxx() 2023-09-25 14:16:17 +02:00
acp-rt5645.c ASoC: amd: convert not to use asoc_xxx() 2023-09-25 14:16:17 +02:00
acp.h ASoC: amd: add I2S MICSP instance support 2022-07-05 13:00:44 +01:00
Kconfig ASoC: amd: vangogh: Add support for NAU8821/MAX98388 variant 2023-07-09 22:47:57 +01:00
mach-config.h ASoC: amd: acp: add code for scanning acp pdm controller 2023-10-25 17:21:48 +01:00
Makefile ASoC: amd: enable Pink Sardine acp6.2 drivers build 2022-08-29 23:14:14 +01:00