Message ID | 1498722411-2387-1-git-send-email-subhransu.s.prusty@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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.
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);
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(-)