]>
Commit | Line | Data |
---|---|---|
1 | From f6f629f8332ea70255f6c60c904270640a21a114 Mon Sep 17 00:00:00 2001 | |
2 | From: Mark Brown <broonie@opensource.wolfsonmicro.com> | |
3 | Date: Fri, 5 Apr 2013 13:19:26 +0100 | |
4 | Subject: ASoC: wm5102: Correct lookup of arizona struct in SYSCLK event | |
5 | ||
6 | From: Mark Brown <broonie@opensource.wolfsonmicro.com> | |
7 | ||
8 | commit f6f629f8332ea70255f6c60c904270640a21a114 upstream. | |
9 | ||
10 | Reported-by: Ryo Tsutsui <Ryo.Tsutsui@wolfsonmicro.com> | |
11 | Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> | |
12 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
13 | ||
14 | --- | |
15 | sound/soc/codecs/wm5102.c | 2 +- | |
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
17 | ||
18 | --- a/sound/soc/codecs/wm5102.c | |
19 | +++ b/sound/soc/codecs/wm5102.c | |
20 | @@ -576,7 +576,7 @@ static int wm5102_sysclk_ev(struct snd_s | |
21 | struct snd_kcontrol *kcontrol, int event) | |
22 | { | |
23 | struct snd_soc_codec *codec = w->codec; | |
24 | - struct arizona *arizona = dev_get_drvdata(codec->dev); | |
25 | + struct arizona *arizona = dev_get_drvdata(codec->dev->parent); | |
26 | struct regmap *regmap = codec->control_data; | |
27 | const struct reg_default *patch = NULL; | |
28 | int i, patch_size; |