summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8994.c
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2010-03-24 14:58:34 +0300
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-03-24 14:05:28 +0000
commita8462bde78fdb77c8ede61e1af99617905a78ccf (patch)
treedd0f6d884fe14b93807fa021df604994a70d9b31 /sound/soc/codecs/wm8994.c
parent3cc4e53f86dab635166929bfa47cc68d59b28c26 (diff)
ASoC: wm8994: playback => capture
Sparse caught that initialize "playback" two times instead of initializing "capture". Signed-off-by: Dan Carpenter <error27@gmail.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8994.c')
-rw-r--r--sound/soc/codecs/wm8994.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 29f3771c33a4..d10d65191fd2 100644
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -3401,7 +3401,7 @@ struct snd_soc_dai wm8994_dai[] = {
.rates = WM8994_RATES,
.formats = WM8994_FORMATS,
},
- .playback = {
+ .capture = {
.stream_name = "AIF3 Capture",
.channels_min = 2,
.channels_max = 2,