ASoC: wm8994: playback => capture
authorDan Carpenter <error27@gmail.com>
Wed, 24 Mar 2010 11:58:34 +0000 (14:58 +0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 24 Mar 2010 14:05:28 +0000 (14:05 +0000)
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>
sound/soc/codecs/wm8994.c

index 29f3771c33a4448838b3934b9f7a430be737e142..d10d65191fd279e8d247c5e1cf8d535bff387427 100644 (file)
@@ -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,