projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c28ce3
)
ASoC: rt5670: fix incompatible pointer type of set_sysclk
author
Bard Liao
<bardliao@realtek.com>
Thu, 29 Jun 2017 01:47:55 +0000
(09:47 +0800)
committer
Mark Brown
<broonie@kernel.org>
Fri, 30 Jun 2017 10:56:12 +0000
(11:56 +0100)
The first parameter is codec not dai.
Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5670.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5670.c
b/sound/soc/codecs/rt5670.c
index 7fa63ad366ddb686805ec157da10cf5c907c82c5..64756dc95261401420b491c7206283bc68db4cdc 100644
(file)
--- 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);