commented early_printk patch because of rejects.
[linux-flexiantxendom0-3.2.10.git] / sound / pci / cmipci.c
index 9d76a6c..c7afc7f 100644 (file)
@@ -1186,7 +1186,7 @@ static int snd_cmipci_ac3_copy(snd_pcm_substream_t *subs, int channel,
 #ifndef USE_AES_IEC958
        u16 *srcp = src, val;
 #else
-       char buf[1920];         /* bits can be divided by 20, 24, 16 */
+       char buf[480];         /* bits can be divided by 20, 24, 16 */
        size_t bytes = frames_to_bytes(runtime, count);
 #endif
 
@@ -1245,7 +1245,7 @@ static int snd_cmipci_ac3_silence(snd_pcm_substream_t *subs, int channel,
        snd_pcm_uframes_t offset;
        snd_pcm_runtime_t *runtime = subs->runtime;
 # ifdef USE_AES_IEC958
-       char buf[1920];         /* bits can be divided by 20, 24, 16 */
+       char buf[480];          /* bits can be divided by 20, 24, 16 */
        size_t bytes = frames_to_bytes(runtime, count);
 # endif
        if (! cm->channel[CM_CH_PLAY].ac3_shift)
@@ -2819,7 +2819,7 @@ static void __devinit snd_cmipci_proc_init(cmipci_t *cm)
 }
 
 
-static struct pci_device_id snd_cmipci_ids[] __devinitdata = {
+static struct pci_device_id snd_cmipci_ids[] = {
        {PCI_VENDOR_ID_CMEDIA, PCI_DEVICE_ID_CMEDIA_CM8338A, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
        {PCI_VENDOR_ID_CMEDIA, PCI_DEVICE_ID_CMEDIA_CM8338B, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
        {PCI_VENDOR_ID_CMEDIA, PCI_DEVICE_ID_CMEDIA_CM8738, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},