From: Venkata Prasad Potturu Date: Tue, 3 Sep 2024 11:34:22 +0000 (+0530) Subject: ASoC: amd: acp: Set i2s clock for acp7.0 platform X-Git-Tag: v6.12-rc1~169^2~1^2~36^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=13073ed06a9f0234033d31e0ccba1e3167d500a3;p=thirdparty%2Fkernel%2Flinux.git ASoC: amd: acp: Set i2s clock for acp7.0 platform Set i2s bclk and lrclk for acp7.0 platform. Signed-off-by: Venkata Prasad Potturu Link: https://patch.msgid.link/20240903113427.182997-8-venkataprasad.potturu@amd.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/amd/acp/acp-i2s.c b/sound/soc/amd/acp/acp-i2s.c index eceffc69bf3ef..31475a4dbced1 100644 --- a/sound/soc/amd/acp/acp-i2s.c +++ b/sound/soc/amd/acp/acp-i2s.c @@ -60,6 +60,7 @@ static inline void acp_set_i2s_clk(struct acp_dev_data *adata, int dai_id) switch (chip->acp_rev) { case ACP63_DEV: + case ACP70_DEV: val |= FIELD_PREP(ACP63_LRCLK_DIV_FIELD, adata->lrclk_div); val |= FIELD_PREP(ACP63_BCLK_DIV_FIELD, adata->bclk_div); break;