alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: amd: support other audio modes for raven
@ 2020-10-23 18:07 Vijendar Mukunda
  2020-10-26 23:46 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Vijendar Mukunda @ 2020-10-23 18:07 UTC (permalink / raw)
  To: broonie, alsa-devel
  Cc: open list, Takashi Iwai, Liam Girdwood,
	Ravulapati Vishnu vardhan rao, Prike.Liang, Vijendar Mukunda,
	Alexander.Deucher, Virendra-Pratap.Arya, Akshu Agrawal,
	Murali-krishna.Vemuri, Dan Carpenter

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>
---
 sound/soc/amd/raven/pci-acp3x.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/amd/raven/pci-acp3x.c b/sound/soc/amd/raven/pci-acp3x.c
index 31b797c..cd5b097 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);
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: amd: support other audio modes for raven
  2020-10-23 18:07 [PATCH] ASoC: amd: support other audio modes for raven Vijendar Mukunda
@ 2020-10-26 23:46 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2020-10-26 23:46 UTC (permalink / raw)
  To: Vijendar Mukunda, alsa-devel
  Cc: Takashi Iwai, Liam Girdwood, open list,
	Ravulapati Vishnu vardhan rao, Prike.Liang, Alexander.Deucher,
	Virendra-Pratap.Arya, Akshu Agrawal, Murali-krishna.Vemuri,
	Dan Carpenter

On Fri, 23 Oct 2020 23:37:17 +0530, Vijendar Mukunda wrote:
> ACP supports different audio configurations other than I2S.
> This patch will fix acp driver probe failure for other audio
> configurations.

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: amd: support other audio modes for raven
      commit: efb38304c550cd7abf1a855074a73dc4a8874aa0

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-26 23:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-23 18:07 [PATCH] ASoC: amd: support other audio modes for raven Vijendar Mukunda
2020-10-26 23:46 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).