diff options
Diffstat (limited to 'sound/soc/omap')
-rw-r--r-- | sound/soc/omap/n810.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/omap/n810.c b/sound/soc/omap/n810.c index 25593fee9121..9f037cd0191d 100644 --- a/sound/soc/omap/n810.c +++ b/sound/soc/omap/n810.c | |||
@@ -72,7 +72,7 @@ static int n810_startup(struct snd_pcm_substream *substream) | |||
72 | { | 72 | { |
73 | struct snd_pcm_runtime *runtime = substream->runtime; | 73 | struct snd_pcm_runtime *runtime = substream->runtime; |
74 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 74 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
75 | struct snd_soc_codec *codec = rtd->socdev->codec; | 75 | struct snd_soc_codec *codec = rtd->socdev->card->codec; |
76 | 76 | ||
77 | snd_pcm_hw_constraint_minmax(runtime, | 77 | snd_pcm_hw_constraint_minmax(runtime, |
78 | SNDRV_PCM_HW_PARAM_CHANNELS, 2, 2); | 78 | SNDRV_PCM_HW_PARAM_CHANNELS, 2, 2); |