Title: [9098] trunk/sound/soc/codecs/ad73311.c: [#6193]asoc: codec ad73311: change max channel to 2
- Revision
- 9098
- Author
- lliubbo
- Date
- 2010-08-25 04:09:40 -0400 (Wed, 25 Aug 2010)
Log Message
[#6193]asoc: codec ad73311: change max channel to 2
otherwise open ad73311 pcm device will fail because
the hw channel_min/max check fail in soc framework.
Modified Paths
Diff
Modified: trunk/sound/soc/codecs/ad73311.c (9097 => 9098)
--- trunk/sound/soc/codecs/ad73311.c 2010-08-25 07:40:42 UTC (rev 9097)
+++ trunk/sound/soc/codecs/ad73311.c 2010-08-25 08:09:40 UTC (rev 9098)
@@ -34,13 +34,13 @@
.playback = {
.stream_name = "Playback",
.channels_min = 1,
- .channels_max = 1,
+ .channels_max = 2,
.rates = SNDRV_PCM_RATE_8000,
.formats = SNDRV_PCM_FMTBIT_S16_LE, },
.capture = {
.stream_name = "Capture",
.channels_min = 1,
- .channels_max = 1,
+ .channels_max = 2,
.rates = SNDRV_PCM_RATE_8000,
.formats = SNDRV_PCM_FMTBIT_S16_LE, },
};
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits