]> Pileus Git - ~andy/linux/blobdiff - sound/soc/codecs/wm5102.c
Merge 3.9-rc7 into char-misc-next
[~andy/linux] / sound / soc / codecs / wm5102.c
index 2657aad3f8b16165da560a82feb641a71572646b..15bc31f1abb1a0fd6a5030b5f159f859a13170ee 100644 (file)
@@ -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;