diff options
| author | Takashi Iwai <tiwai@suse.de> | 2005-11-16 12:43:35 -0500 |
|---|---|---|
| committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:16:21 -0500 |
| commit | c3e6f7d8763fa0400d28c57633eb323515ba05fc (patch) | |
| tree | b0803843b710ac74fc1399910445a8ff2cf396a5 /sound/isa | |
| parent | f31a31b9024f21b2ad8f5a7c30e265a652e2e211 (diff) | |
[ALSA] Remove superfluous pcm_free callbacks
Remove superflous pcm_free callbacks.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa')
| -rw-r--r-- | sound/isa/ad1816a/ad1816a_lib.c | 8 | ||||
| -rw-r--r-- | sound/isa/ad1848/ad1848_lib.c | 8 | ||||
| -rw-r--r-- | sound/isa/cmi8330.c | 6 | ||||
| -rw-r--r-- | sound/isa/cs423x/cs4231_lib.c | 8 | ||||
| -rw-r--r-- | sound/isa/es1688/es1688_lib.c | 8 | ||||
| -rw-r--r-- | sound/isa/es18xx.c | 8 | ||||
| -rw-r--r-- | sound/isa/gus/gus_pcm.c | 8 | ||||
| -rw-r--r-- | sound/isa/opti9xx/opti92x-ad1848.c | 8 | ||||
| -rw-r--r-- | sound/isa/sb/sb16_main.c | 6 | ||||
| -rw-r--r-- | sound/isa/sb/sb8_main.c | 6 |
10 files changed, 0 insertions, 74 deletions
diff --git a/sound/isa/ad1816a/ad1816a_lib.c b/sound/isa/ad1816a/ad1816a_lib.c index 7ae02396cae2..170409e26d03 100644 --- a/sound/isa/ad1816a/ad1816a_lib.c +++ b/sound/isa/ad1816a/ad1816a_lib.c | |||
| @@ -662,13 +662,6 @@ static snd_pcm_ops_t snd_ad1816a_capture_ops = { | |||
| 662 | .pointer = snd_ad1816a_capture_pointer, | 662 | .pointer = snd_ad1816a_capture_pointer, |
| 663 | }; | 663 | }; |
| 664 | 664 | ||
| 665 | static void snd_ad1816a_pcm_free(snd_pcm_t *pcm) | ||
| 666 | { | ||
| 667 | ad1816a_t *chip = pcm->private_data; | ||
| 668 | chip->pcm = NULL; | ||
| 669 | snd_pcm_lib_preallocate_free_for_all(pcm); | ||
| 670 | } | ||
| 671 | |||
| 672 | int snd_ad1816a_pcm(ad1816a_t *chip, int device, snd_pcm_t **rpcm) | 665 | int snd_ad1816a_pcm(ad1816a_t *chip, int device, snd_pcm_t **rpcm) |
| 673 | { | 666 | { |
| 674 | int error; | 667 | int error; |
| @@ -681,7 +674,6 @@ int snd_ad1816a_pcm(ad1816a_t *chip, int device, snd_pcm_t **rpcm) | |||
| 681 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ad1816a_capture_ops); | 674 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ad1816a_capture_ops); |
| 682 | 675 | ||
| 683 | pcm->private_data = chip; | 676 | pcm->private_data = chip; |
| 684 | pcm->private_free = snd_ad1816a_pcm_free; | ||
| 685 | pcm->info_flags = (chip->dma1 == chip->dma2 ) ? SNDRV_PCM_INFO_JOINT_DUPLEX : 0; | 677 | pcm->info_flags = (chip->dma1 == chip->dma2 ) ? SNDRV_PCM_INFO_JOINT_DUPLEX : 0; |
| 686 | 678 | ||
| 687 | strcpy(pcm->name, snd_ad1816a_chip_id(chip)); | 679 | strcpy(pcm->name, snd_ad1816a_chip_id(chip)); |
diff --git a/sound/isa/ad1848/ad1848_lib.c b/sound/isa/ad1848/ad1848_lib.c index 891bacc94f68..84a3c559655b 100644 --- a/sound/isa/ad1848/ad1848_lib.c +++ b/sound/isa/ad1848/ad1848_lib.c | |||
| @@ -959,13 +959,6 @@ static snd_pcm_ops_t snd_ad1848_capture_ops = { | |||
| 959 | .pointer = snd_ad1848_capture_pointer, | 959 | .pointer = snd_ad1848_capture_pointer, |
| 960 | }; | 960 | }; |
| 961 | 961 | ||
| 962 | static void snd_ad1848_pcm_free(snd_pcm_t *pcm) | ||
| 963 | { | ||
| 964 | ad1848_t *chip = pcm->private_data; | ||
| 965 | chip->pcm = NULL; | ||
| 966 | snd_pcm_lib_preallocate_free_for_all(pcm); | ||
| 967 | } | ||
| 968 | |||
| 969 | int snd_ad1848_pcm(ad1848_t *chip, int device, snd_pcm_t **rpcm) | 962 | int snd_ad1848_pcm(ad1848_t *chip, int device, snd_pcm_t **rpcm) |
| 970 | { | 963 | { |
| 971 | snd_pcm_t *pcm; | 964 | snd_pcm_t *pcm; |
| @@ -977,7 +970,6 @@ int snd_ad1848_pcm(ad1848_t *chip, int device, snd_pcm_t **rpcm) | |||
| 977 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ad1848_playback_ops); | 970 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_ad1848_playback_ops); |
| 978 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ad1848_capture_ops); | 971 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_ad1848_capture_ops); |
| 979 | 972 | ||
| 980 | pcm->private_free = snd_ad1848_pcm_free; | ||
| 981 | pcm->private_data = chip; | 973 | pcm->private_data = chip; |
| 982 | pcm->info_flags = SNDRV_PCM_INFO_HALF_DUPLEX; | 974 | pcm->info_flags = SNDRV_PCM_INFO_HALF_DUPLEX; |
| 983 | strcpy(pcm->name, snd_ad1848_chip_id(chip)); | 975 | strcpy(pcm->name, snd_ad1848_chip_id(chip)); |
diff --git a/sound/isa/cmi8330.c b/sound/isa/cmi8330.c index 5252206ea388..6038529d5af2 100644 --- a/sound/isa/cmi8330.c +++ b/sound/isa/cmi8330.c | |||
| @@ -388,11 +388,6 @@ static int snd_cmi8330_capture_open(snd_pcm_substream_t * substream) | |||
| 388 | return chip->streams[SNDRV_PCM_STREAM_CAPTURE].open(substream); | 388 | return chip->streams[SNDRV_PCM_STREAM_CAPTURE].open(substream); |
| 389 | } | 389 | } |
| 390 | 390 | ||
| 391 | static void snd_cmi8330_pcm_free(snd_pcm_t *pcm) | ||
| 392 | { | ||
| 393 | snd_pcm_lib_preallocate_free_for_all(pcm); | ||
| 394 | } | ||
| 395 | |||
| 396 | static int __devinit snd_cmi8330_pcm(snd_card_t *card, struct snd_cmi8330 *chip) | 391 | static int __devinit snd_cmi8330_pcm(snd_card_t *card, struct snd_cmi8330 *chip) |
| 397 | { | 392 | { |
| 398 | snd_pcm_t *pcm; | 393 | snd_pcm_t *pcm; |
| @@ -407,7 +402,6 @@ static int __devinit snd_cmi8330_pcm(snd_card_t *card, struct snd_cmi8330 *chip) | |||
| 407 | return err; | 402 | return err; |
| 408 | strcpy(pcm->name, "CMI8330"); | 403 | strcpy(pcm->name, "CMI8330"); |
| 409 | pcm->private_data = chip; | 404 | pcm->private_data = chip; |
| 410 | pcm->private_free = snd_cmi8330_pcm_free; | ||
| 411 | 405 | ||
| 412 | /* SB16 */ | 406 | /* SB16 */ |
| 413 | ops = snd_sb16dsp_get_pcm_ops(CMI_SB_STREAM); | 407 | ops = snd_sb16dsp_get_pcm_ops(CMI_SB_STREAM); |
diff --git a/sound/isa/cs423x/cs4231_lib.c b/sound/isa/cs423x/cs4231_lib.c index 4af769030beb..4c9fb168636b 100644 --- a/sound/isa/cs423x/cs4231_lib.c +++ b/sound/isa/cs423x/cs4231_lib.c | |||
| @@ -1605,13 +1605,6 @@ static snd_pcm_ops_t snd_cs4231_capture_ops = { | |||
| 1605 | .pointer = snd_cs4231_capture_pointer, | 1605 | .pointer = snd_cs4231_capture_pointer, |
| 1606 | }; | 1606 | }; |
| 1607 | 1607 | ||
| 1608 | static void snd_cs4231_pcm_free(snd_pcm_t *pcm) | ||
| 1609 | { | ||
| 1610 | cs4231_t *chip = pcm->private_data; | ||
| 1611 | chip->pcm = NULL; | ||
| 1612 | snd_pcm_lib_preallocate_free_for_all(pcm); | ||
| 1613 | } | ||
| 1614 | |||
| 1615 | int snd_cs4231_pcm(cs4231_t *chip, int device, snd_pcm_t **rpcm) | 1608 | int snd_cs4231_pcm(cs4231_t *chip, int device, snd_pcm_t **rpcm) |
| 1616 | { | 1609 | { |
| 1617 | snd_pcm_t *pcm; | 1610 | snd_pcm_t *pcm; |
| @@ -1629,7 +1622,6 @@ int snd_cs4231_pcm(cs4231_t *chip, int device, snd_pcm_t **rpcm) | |||
| 1629 | 1622 | ||
| 1630 | /* global setup */ | 1623 | /* global setup */ |
| 1631 | pcm->private_data = chip; | 1624 | pcm->private_data = chip; |
| 1632 | pcm->private_free = snd_cs4231_pcm_free; | ||
| 1633 | pcm->info_flags = 0; | 1625 | pcm->info_flags = 0; |
| 1634 | if (chip->single_dma) | 1626 | if (chip->single_dma) |
| 1635 | pcm->info_flags |= SNDRV_PCM_INFO_HALF_DUPLEX; | 1627 | pcm->info_flags |= SNDRV_PCM_INFO_HALF_DUPLEX; |
diff --git a/sound/isa/es1688/es1688_lib.c b/sound/isa/es1688/es1688_lib.c index 2edc9c9f0445..841e9ac8c664 100644 --- a/sound/isa/es1688/es1688_lib.c +++ b/sound/isa/es1688/es1688_lib.c | |||
| @@ -724,13 +724,6 @@ static snd_pcm_ops_t snd_es1688_capture_ops = { | |||
| 724 | .pointer = snd_es1688_capture_pointer, | 724 | .pointer = snd_es1688_capture_pointer, |
| 725 | }; | 725 | }; |
| 726 | 726 | ||
| 727 | static void snd_es1688_pcm_free(snd_pcm_t *pcm) | ||
| 728 | { | ||
| 729 | es1688_t *chip = pcm->private_data; | ||
| 730 | chip->pcm = NULL; | ||
| 731 | snd_pcm_lib_preallocate_free_for_all(pcm); | ||
| 732 | } | ||
| 733 | |||
| 734 | int snd_es1688_pcm(es1688_t * chip, int device, snd_pcm_t ** rpcm) | 727 | int snd_es1688_pcm(es1688_t * chip, int device, snd_pcm_t ** rpcm) |
| 735 | { | 728 | { |
| 736 | snd_pcm_t *pcm; | 729 | snd_pcm_t *pcm; |
| @@ -743,7 +736,6 @@ int snd_es1688_pcm(es1688_t * chip, int device, snd_pcm_t ** rpcm) | |||
| 743 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_es1688_capture_ops); | 736 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_es1688_capture_ops); |
| 744 | 737 | ||
| 745 | pcm->private_data = chip; | 738 | pcm->private_data = chip; |
| 746 | pcm->private_free = snd_es1688_pcm_free; | ||
| 747 | pcm->info_flags = SNDRV_PCM_INFO_HALF_DUPLEX; | 739 | pcm->info_flags = SNDRV_PCM_INFO_HALF_DUPLEX; |
| 748 | sprintf(pcm->name, snd_es1688_chip_id(chip)); | 740 | sprintf(pcm->name, snd_es1688_chip_id(chip)); |
| 749 | chip->pcm = pcm; | 741 | chip->pcm = pcm; |
diff --git a/sound/isa/es18xx.c b/sound/isa/es18xx.c index 970e2aaade27..7191ff90cc73 100644 --- a/sound/isa/es18xx.c +++ b/sound/isa/es18xx.c | |||
| @@ -1566,13 +1566,6 @@ static snd_pcm_ops_t snd_es18xx_capture_ops = { | |||
| 1566 | .pointer = snd_es18xx_capture_pointer, | 1566 | .pointer = snd_es18xx_capture_pointer, |
| 1567 | }; | 1567 | }; |
| 1568 | 1568 | ||
| 1569 | static void snd_es18xx_pcm_free(snd_pcm_t *pcm) | ||
| 1570 | { | ||
| 1571 | es18xx_t *codec = pcm->private_data; | ||
| 1572 | codec->pcm = NULL; | ||
| 1573 | snd_pcm_lib_preallocate_free_for_all(pcm); | ||
| 1574 | } | ||
| 1575 | |||
| 1576 | static int __devinit snd_es18xx_pcm(es18xx_t *chip, int device, snd_pcm_t ** rpcm) | 1569 | static int __devinit snd_es18xx_pcm(es18xx_t *chip, int device, snd_pcm_t ** rpcm) |
| 1577 | { | 1570 | { |
| 1578 | snd_pcm_t *pcm; | 1571 | snd_pcm_t *pcm; |
| @@ -1595,7 +1588,6 @@ static int __devinit snd_es18xx_pcm(es18xx_t *chip, int device, snd_pcm_t ** rpc | |||
| 1595 | 1588 | ||
| 1596 | /* global setup */ | 1589 | /* global setup */ |
| 1597 | pcm->private_data = chip; | 1590 | pcm->private_data = chip; |
| 1598 | pcm->private_free = snd_es18xx_pcm_free; | ||
| 1599 | pcm->info_flags = 0; | 1591 | pcm->info_flags = 0; |
| 1600 | if (chip->caps & ES18XX_DUPLEX_SAME) | 1592 | if (chip->caps & ES18XX_DUPLEX_SAME) |
| 1601 | pcm->info_flags |= SNDRV_PCM_INFO_JOINT_DUPLEX; | 1593 | pcm->info_flags |= SNDRV_PCM_INFO_JOINT_DUPLEX; |
diff --git a/sound/isa/gus/gus_pcm.c b/sound/isa/gus/gus_pcm.c index 1cc89fb67bf2..bae0fee705ee 100644 --- a/sound/isa/gus/gus_pcm.c +++ b/sound/isa/gus/gus_pcm.c | |||
| @@ -727,13 +727,6 @@ static int snd_gf1_pcm_capture_close(snd_pcm_substream_t * substream) | |||
| 727 | return 0; | 727 | return 0; |
| 728 | } | 728 | } |
| 729 | 729 | ||
| 730 | static void snd_gf1_pcm_free(snd_pcm_t *pcm) | ||
| 731 | { | ||
| 732 | snd_gus_card_t *gus = pcm->private_data; | ||
| 733 | gus->pcm = NULL; | ||
| 734 | snd_pcm_lib_preallocate_free_for_all(pcm); | ||
| 735 | } | ||
| 736 | |||
| 737 | static int snd_gf1_pcm_volume_info(snd_kcontrol_t *kcontrol, snd_ctl_elem_info_t * uinfo) | 730 | static int snd_gf1_pcm_volume_info(snd_kcontrol_t *kcontrol, snd_ctl_elem_info_t * uinfo) |
| 738 | { | 731 | { |
| 739 | uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; | 732 | uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; |
| @@ -860,7 +853,6 @@ int snd_gf1_pcm_new(snd_gus_card_t * gus, int pcm_dev, int control_index, snd_pc | |||
| 860 | if (err < 0) | 853 | if (err < 0) |
| 861 | return err; | 854 | return err; |
| 862 | pcm->private_data = gus; | 855 | pcm->private_data = gus; |
| 863 | pcm->private_free = snd_gf1_pcm_free; | ||
| 864 | /* playback setup */ | 856 | /* playback setup */ |
| 865 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_gf1_pcm_playback_ops); | 857 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_gf1_pcm_playback_ops); |
| 866 | 858 | ||
diff --git a/sound/isa/opti9xx/opti92x-ad1848.c b/sound/isa/opti9xx/opti92x-ad1848.c index b94339f8306f..1be32999dfe1 100644 --- a/sound/isa/opti9xx/opti92x-ad1848.c +++ b/sound/isa/opti9xx/opti92x-ad1848.c | |||
| @@ -1346,13 +1346,6 @@ static snd_pcm_ops_t snd_opti93x_capture_ops = { | |||
| 1346 | .pointer = snd_opti93x_capture_pointer, | 1346 | .pointer = snd_opti93x_capture_pointer, |
| 1347 | }; | 1347 | }; |
| 1348 | 1348 | ||
| 1349 | static void snd_opti93x_pcm_free(snd_pcm_t *pcm) | ||
| 1350 | { | ||
| 1351 | opti93x_t *codec = pcm->private_data; | ||
| 1352 | codec->pcm = NULL; | ||
| 1353 | snd_pcm_lib_preallocate_free_for_all(pcm); | ||
| 1354 | } | ||
| 1355 | |||
| 1356 | static int snd_opti93x_pcm(opti93x_t *codec, int device, snd_pcm_t **rpcm) | 1349 | static int snd_opti93x_pcm(opti93x_t *codec, int device, snd_pcm_t **rpcm) |
| 1357 | { | 1350 | { |
| 1358 | int error; | 1351 | int error; |
| @@ -1365,7 +1358,6 @@ static int snd_opti93x_pcm(opti93x_t *codec, int device, snd_pcm_t **rpcm) | |||
| 1365 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_opti93x_capture_ops); | 1358 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_opti93x_capture_ops); |
| 1366 | 1359 | ||
| 1367 | pcm->private_data = codec; | 1360 | pcm->private_data = codec; |
| 1368 | pcm->private_free = snd_opti93x_pcm_free; | ||
| 1369 | pcm->info_flags = SNDRV_PCM_INFO_JOINT_DUPLEX; | 1361 | pcm->info_flags = SNDRV_PCM_INFO_JOINT_DUPLEX; |
| 1370 | 1362 | ||
| 1371 | strcpy(pcm->name, snd_opti93x_chip_id(codec)); | 1363 | strcpy(pcm->name, snd_opti93x_chip_id(codec)); |
diff --git a/sound/isa/sb/sb16_main.c b/sound/isa/sb/sb16_main.c index 556b95e3e22f..17312e060a17 100644 --- a/sound/isa/sb/sb16_main.c +++ b/sound/isa/sb/sb16_main.c | |||
| @@ -851,11 +851,6 @@ static snd_pcm_ops_t snd_sb16_capture_ops = { | |||
| 851 | .pointer = snd_sb16_capture_pointer, | 851 | .pointer = snd_sb16_capture_pointer, |
| 852 | }; | 852 | }; |
| 853 | 853 | ||
| 854 | static void snd_sb16dsp_pcm_free(snd_pcm_t *pcm) | ||
| 855 | { | ||
| 856 | snd_pcm_lib_preallocate_free_for_all(pcm); | ||
| 857 | } | ||
| 858 | |||
| 859 | int snd_sb16dsp_pcm(sb_t * chip, int device, snd_pcm_t ** rpcm) | 854 | int snd_sb16dsp_pcm(sb_t * chip, int device, snd_pcm_t ** rpcm) |
| 860 | { | 855 | { |
| 861 | snd_card_t *card = chip->card; | 856 | snd_card_t *card = chip->card; |
| @@ -869,7 +864,6 @@ int snd_sb16dsp_pcm(sb_t * chip, int device, snd_pcm_t ** rpcm) | |||
| 869 | sprintf(pcm->name, "DSP v%i.%i", chip->version >> 8, chip->version & 0xff); | 864 | sprintf(pcm->name, "DSP v%i.%i", chip->version >> 8, chip->version & 0xff); |
| 870 | pcm->info_flags = SNDRV_PCM_INFO_JOINT_DUPLEX; | 865 | pcm->info_flags = SNDRV_PCM_INFO_JOINT_DUPLEX; |
| 871 | pcm->private_data = chip; | 866 | pcm->private_data = chip; |
| 872 | pcm->private_free = snd_sb16dsp_pcm_free; | ||
| 873 | 867 | ||
| 874 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_sb16_playback_ops); | 868 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_sb16_playback_ops); |
| 875 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_sb16_capture_ops); | 869 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_sb16_capture_ops); |
diff --git a/sound/isa/sb/sb8_main.c b/sound/isa/sb/sb8_main.c index 5ddc6e41d909..28d8afdf6891 100644 --- a/sound/isa/sb/sb8_main.c +++ b/sound/isa/sb/sb8_main.c | |||
| @@ -507,11 +507,6 @@ static snd_pcm_ops_t snd_sb8_capture_ops = { | |||
| 507 | .pointer = snd_sb8_capture_pointer, | 507 | .pointer = snd_sb8_capture_pointer, |
| 508 | }; | 508 | }; |
| 509 | 509 | ||
| 510 | static void snd_sb8dsp_pcm_free(snd_pcm_t *pcm) | ||
| 511 | { | ||
| 512 | snd_pcm_lib_preallocate_free_for_all(pcm); | ||
| 513 | } | ||
| 514 | |||
| 515 | int snd_sb8dsp_pcm(sb_t *chip, int device, snd_pcm_t ** rpcm) | 510 | int snd_sb8dsp_pcm(sb_t *chip, int device, snd_pcm_t ** rpcm) |
| 516 | { | 511 | { |
| 517 | snd_card_t *card = chip->card; | 512 | snd_card_t *card = chip->card; |
| @@ -525,7 +520,6 @@ int snd_sb8dsp_pcm(sb_t *chip, int device, snd_pcm_t ** rpcm) | |||
| 525 | sprintf(pcm->name, "DSP v%i.%i", chip->version >> 8, chip->version & 0xff); | 520 | sprintf(pcm->name, "DSP v%i.%i", chip->version >> 8, chip->version & 0xff); |
| 526 | pcm->info_flags = SNDRV_PCM_INFO_HALF_DUPLEX; | 521 | pcm->info_flags = SNDRV_PCM_INFO_HALF_DUPLEX; |
| 527 | pcm->private_data = chip; | 522 | pcm->private_data = chip; |
| 528 | pcm->private_free = snd_sb8dsp_pcm_free; | ||
| 529 | 523 | ||
| 530 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_sb8_playback_ops); | 524 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_sb8_playback_ops); |
| 531 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_sb8_capture_ops); | 525 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_sb8_capture_ops); |
