diff options
Diffstat (limited to 'sound/soc/pxa/poodle.c')
-rw-r--r-- | sound/soc/pxa/poodle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/pxa/poodle.c b/sound/soc/pxa/poodle.c index 6e9827189fff..3a62d4354ef6 100644 --- a/sound/soc/pxa/poodle.c +++ b/sound/soc/pxa/poodle.c | |||
@@ -77,7 +77,7 @@ static void poodle_ext_control(struct snd_soc_codec *codec) | |||
77 | static int poodle_startup(struct snd_pcm_substream *substream) | 77 | static int poodle_startup(struct snd_pcm_substream *substream) |
78 | { | 78 | { |
79 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 79 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
80 | struct snd_soc_codec *codec = rtd->socdev->codec; | 80 | struct snd_soc_codec *codec = rtd->socdev->card->codec; |
81 | 81 | ||
82 | /* check the jack status at stream startup */ | 82 | /* check the jack status at stream startup */ |
83 | poodle_ext_control(codec); | 83 | poodle_ext_control(codec); |