diff options
Diffstat (limited to 'drivers/media/video/cx88/cx88-alsa.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-alsa.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/media/video/cx88/cx88-alsa.c b/drivers/media/video/cx88/cx88-alsa.c index 7695b521eb35..a2e36a1e5f59 100644 --- a/drivers/media/video/cx88/cx88-alsa.c +++ b/drivers/media/video/cx88/cx88-alsa.c | |||
@@ -116,7 +116,7 @@ MODULE_LICENSE("GPL"); | |||
116 | MODULE_SUPPORTED_DEVICE("{{Conexant,23881}," | 116 | MODULE_SUPPORTED_DEVICE("{{Conexant,23881}," |
117 | "{{Conexant,23882}," | 117 | "{{Conexant,23882}," |
118 | "{{Conexant,23883}"); | 118 | "{{Conexant,23883}"); |
119 | static unsigned int debug = 0; | 119 | static unsigned int debug; |
120 | module_param(debug,int,0644); | 120 | module_param(debug,int,0644); |
121 | MODULE_PARM_DESC(debug,"enable debug messages"); | 121 | MODULE_PARM_DESC(debug,"enable debug messages"); |
122 | 122 | ||
@@ -333,10 +333,10 @@ static snd_pcm_hardware_t snd_cx88_digital_hw = { | |||
333 | .channels_min = 1, | 333 | .channels_min = 1, |
334 | .channels_max = 2, | 334 | .channels_max = 2, |
335 | .buffer_bytes_max = (2*2048), | 335 | .buffer_bytes_max = (2*2048), |
336 | .period_bytes_min = 256, | 336 | .period_bytes_min = 2048, |
337 | .period_bytes_max = 2048, | 337 | .period_bytes_max = 2048, |
338 | .periods_min = 2, | 338 | .periods_min = 2, |
339 | .periods_max = 16, | 339 | .periods_max = 2, |
340 | }; | 340 | }; |
341 | 341 | ||
342 | /* | 342 | /* |
@@ -653,7 +653,7 @@ static void snd_cx88_dev_free(snd_card_t * card) | |||
653 | * Alsa Constructor - Component probe | 653 | * Alsa Constructor - Component probe |
654 | */ | 654 | */ |
655 | 655 | ||
656 | static int devno=0; | 656 | static int devno; |
657 | static int __devinit snd_cx88_create(snd_card_t *card, struct pci_dev *pci, | 657 | static int __devinit snd_cx88_create(snd_card_t *card, struct pci_dev *pci, |
658 | snd_cx88_card_t **rchip) | 658 | snd_cx88_card_t **rchip) |
659 | { | 659 | { |
@@ -805,7 +805,6 @@ static struct pci_driver cx88_audio_pci_driver = { | |||
805 | .id_table = cx88_audio_pci_tbl, | 805 | .id_table = cx88_audio_pci_tbl, |
806 | .probe = cx88_audio_initdev, | 806 | .probe = cx88_audio_initdev, |
807 | .remove = cx88_audio_finidev, | 807 | .remove = cx88_audio_finidev, |
808 | SND_PCI_PM_CALLBACKS | ||
809 | }; | 808 | }; |
810 | 809 | ||
811 | /**************************************************************************** | 810 | /**************************************************************************** |