diff options
author | Bard Liao <bardliao@realtek.com> | 2017-06-29 04:47:55 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-30 13:56:12 +0300 |
commit | c243d96378bd0dc1249a335c282133f05e93c253 (patch) | |
tree | b5e164c30f5201f1ef58eee71b6e70c69c517bfd /sound/soc | |
parent | 6c28ce3c425e32d372c7c6ee98d3c3711f13ad69 (diff) | |
download | linux-c243d96378bd0dc1249a335c282133f05e93c253.tar.xz |
ASoC: rt5670: fix incompatible pointer type of set_sysclk
The first parameter is codec not dai.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/rt5670.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c index 7fa63ad366dd..64756dc95261 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); |