]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (6067): cx88-alsa: Hardware doesn't support mono audio
authorTrent Piepho <xyzzy@speakeasy.org>
Sun, 19 Aug 2007 00:01:40 +0000 (21:01 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:05:59 +0000 (22:05 -0300)
channels_min should be 2, not 1.  The hardware only supports stereo.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-alsa.c

index ecb9a74ae03de2f643bdd3f988911c1e7377c5e9..3e293da0f70b6bc72d33839e51311f4efb0a2582 100644 (file)
@@ -335,7 +335,7 @@ static struct snd_pcm_hardware snd_cx88_digital_hw = {
        .rates =                SNDRV_PCM_RATE_48000,
        .rate_min =             48000,
        .rate_max =             48000,
-       .channels_min = 1,
+       .channels_min = 2,
        .channels_max = 2,
        .buffer_bytes_max = (2*2048),
        .period_bytes_min = 2048,