summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>2020-10-23 20:07:17 +0200
committerMark Brown <broonie@kernel.org>2020-10-26 19:37:06 +0100
commitefb38304c550cd7abf1a855074a73dc4a8874aa0 (patch)
tree94b9e325bd732921b388e5e7e2f3d0875c06ac63
parentASoC: wm5102: Use get_unaligned_be16() for dac_comp_coeff (diff)
downloadlinux-efb38304c550cd7abf1a855074a73dc4a8874aa0.tar.xz
linux-efb38304c550cd7abf1a855074a73dc4a8874aa0.zip
ASoC: amd: support other audio modes for raven
ACP supports different audio configurations other than I2S. This patch will fix acp driver probe failure for other audio configurations. Tested-by: Prike Liang <Prike.Liang@amd.com> Reviewed-by: Prike Liang <Prike.Liang@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Link: https://lore.kernel.org/r/1603476441-3506-1-git-send-email-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/amd/raven/pci-acp3x.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/amd/raven/pci-acp3x.c b/sound/soc/amd/raven/pci-acp3x.c
index 31b797c8bfe6..cd5b097a9402 100644
--- a/sound/soc/amd/raven/pci-acp3x.c
+++ b/sound/soc/amd/raven/pci-acp3x.c
@@ -231,9 +231,7 @@ static int snd_acp3x_probe(struct pci_dev *pci,
}
break;
default:
- dev_err(&pci->dev, "Invalid ACP audio mode : %d\n", val);
- ret = -ENODEV;
- goto disable_msi;
+ dev_info(&pci->dev, "ACP audio mode : %d\n", val);
}
pm_runtime_set_autosuspend_delay(&pci->dev, 2000);
pm_runtime_use_autosuspend(&pci->dev);