projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
[cascardo/linux.git]
/
sound
/
soc
/
codecs
/
adau17x1.c
diff --git
a/sound/soc/codecs/adau17x1.c
b/sound/soc/codecs/adau17x1.c
index
5000047
..
fa2e690
100644
(file)
--- a/
sound/soc/codecs/adau17x1.c
+++ b/
sound/soc/codecs/adau17x1.c
@@
-61,7
+61,8
@@
static const struct snd_kcontrol_new adau17x1_controls[] = {
static int adau17x1_pll_event(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *kcontrol, int event)
{
static int adau17x1_pll_event(struct snd_soc_dapm_widget *w,
struct snd_kcontrol *kcontrol, int event)
{
- struct adau *adau = snd_soc_codec_get_drvdata(w->codec);
+ struct snd_soc_codec *codec = snd_soc_dapm_to_codec(w->dapm);
+ struct adau *adau = snd_soc_codec_get_drvdata(codec);
int ret;
if (SND_SOC_DAPM_EVENT_ON(event)) {
int ret;
if (SND_SOC_DAPM_EVENT_ON(event)) {