]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: amd: acp: Update pcm hardware capabilities for acp7.0 platform
authorVenkata Prasad Potturu <venkataprasad.potturu@amd.com>
Tue, 3 Sep 2024 11:34:20 +0000 (17:04 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 3 Sep 2024 11:57:43 +0000 (12:57 +0100)
Update pcm hardware capabilities for acp7.0 platform.

Signed-off-by: Venkata Prasad Potturu <venkataprasad.potturu@amd.com>
Link: https://patch.msgid.link/20240903113427.182997-6-venkataprasad.potturu@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-platform.c

index 238b4f648f447135498ea018b9069b801ddad809..55573bdd5ef4a93566211dcc7832e650348ba3cb 100644 (file)
@@ -235,6 +235,7 @@ static int acp_dma_open(struct snd_soc_component *component, struct snd_pcm_subs
        chip = dev_get_platdata(dev);
        switch (chip->acp_rev) {
        case ACP63_DEV:
+       case ACP70_DEV:
                if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
                        runtime->hw = acp6x_pcm_hardware_playback;
                else