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:
31880c3
)
ASoC: wm5102: Correct lookup of arizona struct in SYSCLK event
author
Mark Brown
<
[email protected]
>
Fri, 5 Apr 2013 12:19:26 +0000
(13:19 +0100)
committer
Mark Brown
<
[email protected]
>
Tue, 9 Apr 2013 16:50:55 +0000
(17:50 +0100)
Reported-by: Ryo Tsutsui <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
Cc:
[email protected]
sound/soc/codecs/wm5102.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm5102.c
b/sound/soc/codecs/wm5102.c
index b82bbf584146dc0b7c1bbaeb416a96f03f0d67af..34d0201d6a78a86a5dd6f1568dd898919fb8b512 100644
(file)
--- a/
sound/soc/codecs/wm5102.c
+++ b/
sound/soc/codecs/wm5102.c
@@
-584,7
+584,7
@@
static int wm5102_sysclk_ev(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *kcontrol, int event)
{
struct snd_soc_codec *codec = w->codec;
- struct arizona *arizona = dev_get_drvdata(codec->dev);
+ struct arizona *arizona = dev_get_drvdata(codec->dev
->parent
);
struct regmap *regmap = codec->control_data;
const struct reg_default *patch = NULL;
int i, patch_size;