projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: wm8961: Replace w->codec snd_soc_dapm_to_codec(w->dapm)
[firefly-linux-kernel-4.4.55.git]
/
sound
/
soc
/
codecs
/
wm8958-dsp2.c
diff --git
a/sound/soc/codecs/wm8958-dsp2.c
b/sound/soc/codecs/wm8958-dsp2.c
index 3cbc82b3329288e8d16f33acaa4782dac147a542..c799cca5abeb704645687b863ccedfc6749e9ac2 100644
(file)
--- a/
sound/soc/codecs/wm8958-dsp2.c
+++ b/
sound/soc/codecs/wm8958-dsp2.c
@@
-418,7
+418,7
@@
static void wm8958_dsp_apply(struct snd_soc_codec *codec, int path, int start)
int wm8958_aif_ev(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *kcontrol, int event)
{
- struct snd_soc_codec *codec =
w->codec
;
+ struct snd_soc_codec *codec =
snd_soc_dapm_to_codec(w->dapm)
;
int i;
switch (event) {