projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72c3b2b
)
ASoC: rt1015: set snd_soc_dai_ops in rt1015_dai driver
author
YueHaibing
<yuehaibing@huawei.com>
Mon, 2 Mar 2020 07:05:22 +0000
(15:05 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 2 Mar 2020 14:31:45 +0000
(14:31 +0000)
snd_soc_dai_driver should set ops in rt1015_dai driver.
Also make the two variable static to fix sparse warnings.
Fixes:
df31007400c3
("ASoC: rt1015: add rt1015 amplifier driver")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link:
https://lore.kernel.org/r/20200302070522.48104-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1015.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt1015.c
b/sound/soc/codecs/rt1015.c
index
c118d03
..
100b8c8
100644
(file)
--- a/
sound/soc/codecs/rt1015.c
+++ b/
sound/soc/codecs/rt1015.c
@@
-857,6
+857,7
@@
static struct snd_soc_dai_driver rt1015_dai[] = {
.rates = RT1015_STEREO_RATES,
.formats = RT1015_FORMATS,
},
+ .ops = &rt1015_aif_dai_ops,
}
};