All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: rt5670: Fix arguments to set_sysclk
@ 2017-06-29  7:46 Subhransu S. Prusty
  2017-06-30 11:45 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Subhransu S. Prusty @ 2017-06-29  7:46 UTC (permalink / raw)
  To: alsa-devel
  Cc: tiwai, lgirdwood, patches.audio, broonie, Bard Liao, Subhransu S. Prusty

set_sysclk expects pointer to snd_soc_codec. Fix it.

Fixes: 6c28ce3c425e ("ASoC: rt5670: move set_sysclk to codec level")
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
CC: Bard Liao <bardliao@realtek.com>
---
 sound/soc/codecs/rt5670.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c
index 10fec7cdf1a1..0ec7985ed306 100644
--- a/sound/soc/codecs/rt5670.c
+++ b/sound/soc/codecs/rt5670.c
@@ -2442,7 +2442,7 @@ static int rt5670_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
 	return 0;
 }
 
-static int rt5670_set_codec_sysclk(struct snd_soc_dai *dai, int clk_id,
+static int rt5670_set_codec_sysclk(struct snd_soc_codec *codec, int clk_id,
 				   int source, unsigned int freq, int dir)
 {
 	struct rt5670_priv *rt5670 = snd_soc_codec_get_drvdata(codec);
-- 
1.9.1

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

* Re: [PATCH] ASoC: rt5670: Fix arguments to set_sysclk
  2017-06-29  7:46 [PATCH] ASoC: rt5670: Fix arguments to set_sysclk Subhransu S. Prusty
@ 2017-06-30 11:45 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2017-06-30 11:45 UTC (permalink / raw)
  To: Subhransu S. Prusty
  Cc: tiwai, patches.audio, alsa-devel, lgirdwood, Bard Liao


[-- Attachment #1.1: Type: text/plain, Size: 162 bytes --]

On Thu, Jun 29, 2017 at 01:16:51PM +0530, Subhransu S. Prusty wrote:
> set_sysclk expects pointer to snd_soc_codec. Fix it.

Someone already sent a fix for this.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

end of thread, other threads:[~2017-06-30 11:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-29  7:46 [PATCH] ASoC: rt5670: Fix arguments to set_sysclk Subhransu S. Prusty
2017-06-30 11:45 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.