ALSA: ca0106 - Fix the max capture buffer size
[pandora-kernel.git] / sound / pci / ca0106 / ca0106_main.c
index 2f8b28a..2b8b1ed 100644 (file)
@@ -249,11 +249,12 @@ static struct snd_ca0106_details ca0106_chip_details[] = {
           .name   = "MSI K8N Diamond MB [SB0438]",
           .gpio_type = 2,
           .i2c_adc = 1 } ,
-        /* Another MSI K8N Diamond MB, which has apprently a different SSID */
+        /* MSI K8N Diamond PLUS MB */
         { .serial = 0x10091102,
           .name   = "MSI K8N Diamond MB",
           .gpio_type = 2,
-          .i2c_adc = 1 } ,
+          .i2c_adc = 1,
+          .spi_dac = 2 },
         /* Shuttle XPC SD31P which has an onboard Creative Labs
          * Sound Blaster Live! 24-bit EAX
          * high-definition 7.1 audio processor".
@@ -310,9 +311,9 @@ static struct snd_pcm_hardware snd_ca0106_capture_hw = {
        .rate_max =             192000,
        .channels_min =         2,
        .channels_max =         2,
-       .buffer_bytes_max =     ((65536 - 64) * 8),
+       .buffer_bytes_max =     65536 - 128,
        .period_bytes_min =     64,
-       .period_bytes_max =     (65536 - 64),
+       .period_bytes_max =     32768 - 64,
        .periods_min =          2,
        .periods_max =          2,
        .fifo_size =            0,