mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
ALSA: pci: Drop superfluous ioctl PCM ops
PCM core deals the empty ioctl field now as default(*).
Let's kill the redundant lines.
(*) commit fc033cbf6f ("ALSA: pcm: Allow NULL ioctl ops")
Link: https://lore.kernel.org/r/20191210061145.24641-16-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@@ -548,7 +548,6 @@ snd_ad1889_capture_pointer(struct snd_pcm_substream *ss)
|
||||
static const struct snd_pcm_ops snd_ad1889_playback_ops = {
|
||||
.open = snd_ad1889_playback_open,
|
||||
.close = snd_ad1889_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_ad1889_playback_prepare,
|
||||
.trigger = snd_ad1889_playback_trigger,
|
||||
.pointer = snd_ad1889_playback_pointer,
|
||||
@@ -557,7 +556,6 @@ static const struct snd_pcm_ops snd_ad1889_playback_ops = {
|
||||
static const struct snd_pcm_ops snd_ad1889_capture_ops = {
|
||||
.open = snd_ad1889_capture_open,
|
||||
.close = snd_ad1889_capture_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_ad1889_capture_prepare,
|
||||
.trigger = snd_ad1889_capture_trigger,
|
||||
.pointer = snd_ad1889_capture_pointer,
|
||||
|
||||
@@ -1507,7 +1507,6 @@ static int snd_ali_close(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_ali_playback_ops = {
|
||||
.open = snd_ali_playback_open,
|
||||
.close = snd_ali_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_ali_playback_hw_params,
|
||||
.hw_free = snd_ali_playback_hw_free,
|
||||
.prepare = snd_ali_playback_prepare,
|
||||
@@ -1518,7 +1517,6 @@ static const struct snd_pcm_ops snd_ali_playback_ops = {
|
||||
static const struct snd_pcm_ops snd_ali_capture_ops = {
|
||||
.open = snd_ali_capture_open,
|
||||
.close = snd_ali_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_ali_prepare,
|
||||
.trigger = snd_ali_trigger,
|
||||
.pointer = snd_ali_pointer,
|
||||
@@ -1591,7 +1589,6 @@ static int snd_ali_modem_capture_open(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_ali_modem_playback_ops = {
|
||||
.open = snd_ali_modem_playback_open,
|
||||
.close = snd_ali_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_ali_modem_hw_params,
|
||||
.prepare = snd_ali_prepare,
|
||||
.trigger = snd_ali_trigger,
|
||||
@@ -1601,7 +1598,6 @@ static const struct snd_pcm_ops snd_ali_modem_playback_ops = {
|
||||
static const struct snd_pcm_ops snd_ali_modem_capture_ops = {
|
||||
.open = snd_ali_modem_capture_open,
|
||||
.close = snd_ali_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_ali_modem_hw_params,
|
||||
.prepare = snd_ali_prepare,
|
||||
.trigger = snd_ali_trigger,
|
||||
|
||||
@@ -539,7 +539,6 @@ static snd_pcm_uframes_t snd_als300_pointer(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_als300_playback_ops = {
|
||||
.open = snd_als300_playback_open,
|
||||
.close = snd_als300_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_als300_playback_prepare,
|
||||
.trigger = snd_als300_trigger,
|
||||
.pointer = snd_als300_pointer,
|
||||
@@ -548,7 +547,6 @@ static const struct snd_pcm_ops snd_als300_playback_ops = {
|
||||
static const struct snd_pcm_ops snd_als300_capture_ops = {
|
||||
.open = snd_als300_capture_open,
|
||||
.close = snd_als300_capture_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_als300_capture_prepare,
|
||||
.trigger = snd_als300_trigger,
|
||||
.pointer = snd_als300_pointer,
|
||||
|
||||
@@ -647,7 +647,6 @@ static int snd_als4000_capture_close(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_als4000_playback_ops = {
|
||||
.open = snd_als4000_playback_open,
|
||||
.close = snd_als4000_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_als4000_playback_prepare,
|
||||
.trigger = snd_als4000_playback_trigger,
|
||||
.pointer = snd_als4000_playback_pointer
|
||||
@@ -656,7 +655,6 @@ static const struct snd_pcm_ops snd_als4000_playback_ops = {
|
||||
static const struct snd_pcm_ops snd_als4000_capture_ops = {
|
||||
.open = snd_als4000_capture_open,
|
||||
.close = snd_als4000_capture_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_als4000_capture_prepare,
|
||||
.trigger = snd_als4000_capture_trigger,
|
||||
.pointer = snd_als4000_capture_pointer
|
||||
|
||||
@@ -422,7 +422,6 @@ static snd_pcm_uframes_t snd_vortex_pcm_pointer(struct snd_pcm_substream *substr
|
||||
static const struct snd_pcm_ops snd_vortex_playback_ops = {
|
||||
.open = snd_vortex_pcm_open,
|
||||
.close = snd_vortex_pcm_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_vortex_pcm_hw_params,
|
||||
.hw_free = snd_vortex_pcm_hw_free,
|
||||
.prepare = snd_vortex_pcm_prepare,
|
||||
|
||||
@@ -166,7 +166,6 @@ module_pci_driver(aw2_driver);
|
||||
static const struct snd_pcm_ops snd_aw2_playback_ops = {
|
||||
.open = snd_aw2_pcm_playback_open,
|
||||
.close = snd_aw2_pcm_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_aw2_pcm_prepare_playback,
|
||||
.trigger = snd_aw2_pcm_trigger_playback,
|
||||
.pointer = snd_aw2_pcm_pointer_playback,
|
||||
@@ -176,7 +175,6 @@ static const struct snd_pcm_ops snd_aw2_playback_ops = {
|
||||
static const struct snd_pcm_ops snd_aw2_capture_ops = {
|
||||
.open = snd_aw2_pcm_capture_open,
|
||||
.close = snd_aw2_pcm_capture_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_aw2_pcm_prepare_capture,
|
||||
.trigger = snd_aw2_pcm_trigger_capture,
|
||||
.pointer = snd_aw2_pcm_pointer_capture,
|
||||
|
||||
@@ -2065,7 +2065,6 @@ snd_azf3328_pcm_close(struct snd_pcm_substream *substream
|
||||
static const struct snd_pcm_ops snd_azf3328_playback_ops = {
|
||||
.open = snd_azf3328_pcm_playback_open,
|
||||
.close = snd_azf3328_pcm_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_azf3328_pcm_prepare,
|
||||
.trigger = snd_azf3328_pcm_trigger,
|
||||
.pointer = snd_azf3328_pcm_pointer
|
||||
@@ -2074,7 +2073,6 @@ static const struct snd_pcm_ops snd_azf3328_playback_ops = {
|
||||
static const struct snd_pcm_ops snd_azf3328_capture_ops = {
|
||||
.open = snd_azf3328_pcm_capture_open,
|
||||
.close = snd_azf3328_pcm_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_azf3328_pcm_prepare,
|
||||
.trigger = snd_azf3328_pcm_trigger,
|
||||
.pointer = snd_azf3328_pcm_pointer
|
||||
@@ -2083,7 +2081,6 @@ static const struct snd_pcm_ops snd_azf3328_capture_ops = {
|
||||
static const struct snd_pcm_ops snd_azf3328_i2s_out_ops = {
|
||||
.open = snd_azf3328_pcm_i2s_out_open,
|
||||
.close = snd_azf3328_pcm_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_azf3328_pcm_prepare,
|
||||
.trigger = snd_azf3328_pcm_trigger,
|
||||
.pointer = snd_azf3328_pcm_pointer
|
||||
|
||||
@@ -533,7 +533,6 @@ static snd_pcm_uframes_t snd_bt87x_pointer(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_bt87x_pcm_ops = {
|
||||
.open = snd_bt87x_pcm_open,
|
||||
.close = snd_bt87x_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_bt87x_hw_params,
|
||||
.hw_free = snd_bt87x_hw_free,
|
||||
.prepare = snd_bt87x_prepare,
|
||||
|
||||
@@ -1068,7 +1068,6 @@ snd_ca0106_pcm_pointer_capture(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_ca0106_playback_front_ops = {
|
||||
.open = snd_ca0106_pcm_open_playback_front,
|
||||
.close = snd_ca0106_pcm_close_playback,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_ca0106_pcm_prepare_playback,
|
||||
.trigger = snd_ca0106_pcm_trigger_playback,
|
||||
.pointer = snd_ca0106_pcm_pointer_playback,
|
||||
@@ -1077,7 +1076,6 @@ static const struct snd_pcm_ops snd_ca0106_playback_front_ops = {
|
||||
static const struct snd_pcm_ops snd_ca0106_capture_0_ops = {
|
||||
.open = snd_ca0106_pcm_open_0_capture,
|
||||
.close = snd_ca0106_pcm_close_capture,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_ca0106_pcm_prepare_capture,
|
||||
.trigger = snd_ca0106_pcm_trigger_capture,
|
||||
.pointer = snd_ca0106_pcm_pointer_capture,
|
||||
@@ -1086,7 +1084,6 @@ static const struct snd_pcm_ops snd_ca0106_capture_0_ops = {
|
||||
static const struct snd_pcm_ops snd_ca0106_capture_1_ops = {
|
||||
.open = snd_ca0106_pcm_open_1_capture,
|
||||
.close = snd_ca0106_pcm_close_capture,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_ca0106_pcm_prepare_capture,
|
||||
.trigger = snd_ca0106_pcm_trigger_capture,
|
||||
.pointer = snd_ca0106_pcm_pointer_capture,
|
||||
@@ -1095,7 +1092,6 @@ static const struct snd_pcm_ops snd_ca0106_capture_1_ops = {
|
||||
static const struct snd_pcm_ops snd_ca0106_capture_2_ops = {
|
||||
.open = snd_ca0106_pcm_open_2_capture,
|
||||
.close = snd_ca0106_pcm_close_capture,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_ca0106_pcm_prepare_capture,
|
||||
.trigger = snd_ca0106_pcm_trigger_capture,
|
||||
.pointer = snd_ca0106_pcm_pointer_capture,
|
||||
@@ -1104,7 +1100,6 @@ static const struct snd_pcm_ops snd_ca0106_capture_2_ops = {
|
||||
static const struct snd_pcm_ops snd_ca0106_capture_3_ops = {
|
||||
.open = snd_ca0106_pcm_open_3_capture,
|
||||
.close = snd_ca0106_pcm_close_capture,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_ca0106_pcm_prepare_capture,
|
||||
.trigger = snd_ca0106_pcm_trigger_capture,
|
||||
.pointer = snd_ca0106_pcm_pointer_capture,
|
||||
@@ -1113,7 +1108,6 @@ static const struct snd_pcm_ops snd_ca0106_capture_3_ops = {
|
||||
static const struct snd_pcm_ops snd_ca0106_playback_center_lfe_ops = {
|
||||
.open = snd_ca0106_pcm_open_playback_center_lfe,
|
||||
.close = snd_ca0106_pcm_close_playback,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_ca0106_pcm_prepare_playback,
|
||||
.trigger = snd_ca0106_pcm_trigger_playback,
|
||||
.pointer = snd_ca0106_pcm_pointer_playback,
|
||||
@@ -1122,7 +1116,6 @@ static const struct snd_pcm_ops snd_ca0106_playback_center_lfe_ops = {
|
||||
static const struct snd_pcm_ops snd_ca0106_playback_unknown_ops = {
|
||||
.open = snd_ca0106_pcm_open_playback_unknown,
|
||||
.close = snd_ca0106_pcm_close_playback,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_ca0106_pcm_prepare_playback,
|
||||
.trigger = snd_ca0106_pcm_trigger_playback,
|
||||
.pointer = snd_ca0106_pcm_pointer_playback,
|
||||
@@ -1131,7 +1124,6 @@ static const struct snd_pcm_ops snd_ca0106_playback_unknown_ops = {
|
||||
static const struct snd_pcm_ops snd_ca0106_playback_rear_ops = {
|
||||
.open = snd_ca0106_pcm_open_playback_rear,
|
||||
.close = snd_ca0106_pcm_close_playback,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_ca0106_pcm_prepare_playback,
|
||||
.trigger = snd_ca0106_pcm_trigger_playback,
|
||||
.pointer = snd_ca0106_pcm_pointer_playback,
|
||||
|
||||
@@ -1817,7 +1817,6 @@ static int snd_cmipci_capture_spdif_close(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_cmipci_playback_ops = {
|
||||
.open = snd_cmipci_playback_open,
|
||||
.close = snd_cmipci_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_free = snd_cmipci_playback_hw_free,
|
||||
.prepare = snd_cmipci_playback_prepare,
|
||||
.trigger = snd_cmipci_playback_trigger,
|
||||
@@ -1827,7 +1826,6 @@ static const struct snd_pcm_ops snd_cmipci_playback_ops = {
|
||||
static const struct snd_pcm_ops snd_cmipci_capture_ops = {
|
||||
.open = snd_cmipci_capture_open,
|
||||
.close = snd_cmipci_capture_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_cmipci_capture_prepare,
|
||||
.trigger = snd_cmipci_capture_trigger,
|
||||
.pointer = snd_cmipci_capture_pointer,
|
||||
@@ -1836,7 +1834,6 @@ static const struct snd_pcm_ops snd_cmipci_capture_ops = {
|
||||
static const struct snd_pcm_ops snd_cmipci_playback2_ops = {
|
||||
.open = snd_cmipci_playback2_open,
|
||||
.close = snd_cmipci_playback2_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_cmipci_playback2_hw_params,
|
||||
.hw_free = snd_cmipci_playback2_hw_free,
|
||||
.prepare = snd_cmipci_capture_prepare, /* channel B */
|
||||
@@ -1847,7 +1844,6 @@ static const struct snd_pcm_ops snd_cmipci_playback2_ops = {
|
||||
static const struct snd_pcm_ops snd_cmipci_playback_spdif_ops = {
|
||||
.open = snd_cmipci_playback_spdif_open,
|
||||
.close = snd_cmipci_playback_spdif_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_free = snd_cmipci_playback_hw_free,
|
||||
.prepare = snd_cmipci_playback_spdif_prepare, /* set up rate */
|
||||
.trigger = snd_cmipci_playback_trigger,
|
||||
@@ -1857,7 +1853,6 @@ static const struct snd_pcm_ops snd_cmipci_playback_spdif_ops = {
|
||||
static const struct snd_pcm_ops snd_cmipci_capture_spdif_ops = {
|
||||
.open = snd_cmipci_capture_spdif_open,
|
||||
.close = snd_cmipci_capture_spdif_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_free = snd_cmipci_capture_spdif_hw_free,
|
||||
.prepare = snd_cmipci_capture_spdif_prepare,
|
||||
.trigger = snd_cmipci_capture_trigger,
|
||||
|
||||
@@ -927,7 +927,6 @@ static int snd_cs4281_capture_close(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_cs4281_playback_ops = {
|
||||
.open = snd_cs4281_playback_open,
|
||||
.close = snd_cs4281_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_cs4281_playback_prepare,
|
||||
.trigger = snd_cs4281_trigger,
|
||||
.pointer = snd_cs4281_pointer,
|
||||
@@ -936,7 +935,6 @@ static const struct snd_pcm_ops snd_cs4281_playback_ops = {
|
||||
static const struct snd_pcm_ops snd_cs4281_capture_ops = {
|
||||
.open = snd_cs4281_capture_open,
|
||||
.close = snd_cs4281_capture_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_cs4281_capture_prepare,
|
||||
.trigger = snd_cs4281_trigger,
|
||||
.pointer = snd_cs4281_pointer,
|
||||
|
||||
@@ -1645,7 +1645,6 @@ static int snd_cs46xx_capture_close(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_cs46xx_playback_rear_ops = {
|
||||
.open = snd_cs46xx_playback_open_rear,
|
||||
.close = snd_cs46xx_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_cs46xx_playback_hw_params,
|
||||
.hw_free = snd_cs46xx_playback_hw_free,
|
||||
.prepare = snd_cs46xx_playback_prepare,
|
||||
@@ -1656,7 +1655,6 @@ static const struct snd_pcm_ops snd_cs46xx_playback_rear_ops = {
|
||||
static const struct snd_pcm_ops snd_cs46xx_playback_indirect_rear_ops = {
|
||||
.open = snd_cs46xx_playback_open_rear,
|
||||
.close = snd_cs46xx_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_cs46xx_playback_hw_params,
|
||||
.hw_free = snd_cs46xx_playback_hw_free,
|
||||
.prepare = snd_cs46xx_playback_prepare,
|
||||
@@ -1668,7 +1666,6 @@ static const struct snd_pcm_ops snd_cs46xx_playback_indirect_rear_ops = {
|
||||
static const struct snd_pcm_ops snd_cs46xx_playback_clfe_ops = {
|
||||
.open = snd_cs46xx_playback_open_clfe,
|
||||
.close = snd_cs46xx_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_cs46xx_playback_hw_params,
|
||||
.hw_free = snd_cs46xx_playback_hw_free,
|
||||
.prepare = snd_cs46xx_playback_prepare,
|
||||
@@ -1679,7 +1676,6 @@ static const struct snd_pcm_ops snd_cs46xx_playback_clfe_ops = {
|
||||
static const struct snd_pcm_ops snd_cs46xx_playback_indirect_clfe_ops = {
|
||||
.open = snd_cs46xx_playback_open_clfe,
|
||||
.close = snd_cs46xx_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_cs46xx_playback_hw_params,
|
||||
.hw_free = snd_cs46xx_playback_hw_free,
|
||||
.prepare = snd_cs46xx_playback_prepare,
|
||||
@@ -1691,7 +1687,6 @@ static const struct snd_pcm_ops snd_cs46xx_playback_indirect_clfe_ops = {
|
||||
static const struct snd_pcm_ops snd_cs46xx_playback_iec958_ops = {
|
||||
.open = snd_cs46xx_playback_open_iec958,
|
||||
.close = snd_cs46xx_playback_close_iec958,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_cs46xx_playback_hw_params,
|
||||
.hw_free = snd_cs46xx_playback_hw_free,
|
||||
.prepare = snd_cs46xx_playback_prepare,
|
||||
@@ -1702,7 +1697,6 @@ static const struct snd_pcm_ops snd_cs46xx_playback_iec958_ops = {
|
||||
static const struct snd_pcm_ops snd_cs46xx_playback_indirect_iec958_ops = {
|
||||
.open = snd_cs46xx_playback_open_iec958,
|
||||
.close = snd_cs46xx_playback_close_iec958,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_cs46xx_playback_hw_params,
|
||||
.hw_free = snd_cs46xx_playback_hw_free,
|
||||
.prepare = snd_cs46xx_playback_prepare,
|
||||
@@ -1716,7 +1710,6 @@ static const struct snd_pcm_ops snd_cs46xx_playback_indirect_iec958_ops = {
|
||||
static const struct snd_pcm_ops snd_cs46xx_playback_ops = {
|
||||
.open = snd_cs46xx_playback_open,
|
||||
.close = snd_cs46xx_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_cs46xx_playback_hw_params,
|
||||
.hw_free = snd_cs46xx_playback_hw_free,
|
||||
.prepare = snd_cs46xx_playback_prepare,
|
||||
@@ -1727,7 +1720,6 @@ static const struct snd_pcm_ops snd_cs46xx_playback_ops = {
|
||||
static const struct snd_pcm_ops snd_cs46xx_playback_indirect_ops = {
|
||||
.open = snd_cs46xx_playback_open,
|
||||
.close = snd_cs46xx_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_cs46xx_playback_hw_params,
|
||||
.hw_free = snd_cs46xx_playback_hw_free,
|
||||
.prepare = snd_cs46xx_playback_prepare,
|
||||
@@ -1739,7 +1731,6 @@ static const struct snd_pcm_ops snd_cs46xx_playback_indirect_ops = {
|
||||
static const struct snd_pcm_ops snd_cs46xx_capture_ops = {
|
||||
.open = snd_cs46xx_capture_open,
|
||||
.close = snd_cs46xx_capture_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_cs46xx_capture_hw_params,
|
||||
.hw_free = snd_cs46xx_capture_hw_free,
|
||||
.prepare = snd_cs46xx_capture_prepare,
|
||||
@@ -1750,7 +1741,6 @@ static const struct snd_pcm_ops snd_cs46xx_capture_ops = {
|
||||
static const struct snd_pcm_ops snd_cs46xx_capture_indirect_ops = {
|
||||
.open = snd_cs46xx_capture_open,
|
||||
.close = snd_cs46xx_capture_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_cs46xx_capture_hw_params,
|
||||
.hw_free = snd_cs46xx_capture_hw_free,
|
||||
.prepare = snd_cs46xx_capture_prepare,
|
||||
|
||||
@@ -366,7 +366,6 @@ static int snd_cs5535audio_capture_prepare(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_cs5535audio_playback_ops = {
|
||||
.open = snd_cs5535audio_playback_open,
|
||||
.close = snd_cs5535audio_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_cs5535audio_hw_params,
|
||||
.hw_free = snd_cs5535audio_hw_free,
|
||||
.prepare = snd_cs5535audio_playback_prepare,
|
||||
@@ -377,7 +376,6 @@ static const struct snd_pcm_ops snd_cs5535audio_playback_ops = {
|
||||
static const struct snd_pcm_ops snd_cs5535audio_capture_ops = {
|
||||
.open = snd_cs5535audio_capture_open,
|
||||
.close = snd_cs5535audio_capture_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_cs5535audio_hw_params,
|
||||
.hw_free = snd_cs5535audio_hw_free,
|
||||
.prepare = snd_cs5535audio_capture_prepare,
|
||||
|
||||
@@ -367,7 +367,6 @@ ct_pcm_capture_pointer(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops ct_pcm_playback_ops = {
|
||||
.open = ct_pcm_playback_open,
|
||||
.close = ct_pcm_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = ct_pcm_hw_params,
|
||||
.hw_free = ct_pcm_hw_free,
|
||||
.prepare = ct_pcm_playback_prepare,
|
||||
@@ -379,7 +378,6 @@ static const struct snd_pcm_ops ct_pcm_playback_ops = {
|
||||
static const struct snd_pcm_ops ct_pcm_capture_ops = {
|
||||
.open = ct_pcm_capture_open,
|
||||
.close = ct_pcm_capture_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = ct_pcm_hw_params,
|
||||
.hw_free = ct_pcm_hw_free,
|
||||
.prepare = ct_pcm_capture_prepare,
|
||||
|
||||
@@ -807,7 +807,6 @@ static snd_pcm_uframes_t pcm_pointer(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops analog_playback_ops = {
|
||||
.open = pcm_analog_out_open,
|
||||
.close = pcm_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = pcm_analog_out_hw_params,
|
||||
.hw_free = pcm_hw_free,
|
||||
.prepare = pcm_prepare,
|
||||
@@ -817,7 +816,6 @@ static const struct snd_pcm_ops analog_playback_ops = {
|
||||
static const struct snd_pcm_ops analog_capture_ops = {
|
||||
.open = pcm_analog_in_open,
|
||||
.close = pcm_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = pcm_analog_in_hw_params,
|
||||
.hw_free = pcm_hw_free,
|
||||
.prepare = pcm_prepare,
|
||||
@@ -829,7 +827,6 @@ static const struct snd_pcm_ops analog_capture_ops = {
|
||||
static const struct snd_pcm_ops digital_playback_ops = {
|
||||
.open = pcm_digital_out_open,
|
||||
.close = pcm_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = pcm_digital_out_hw_params,
|
||||
.hw_free = pcm_hw_free,
|
||||
.prepare = pcm_prepare,
|
||||
@@ -840,7 +837,6 @@ static const struct snd_pcm_ops digital_playback_ops = {
|
||||
static const struct snd_pcm_ops digital_capture_ops = {
|
||||
.open = pcm_digital_in_open,
|
||||
.close = pcm_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = pcm_digital_in_hw_params,
|
||||
.hw_free = pcm_hw_free,
|
||||
.prepare = pcm_prepare,
|
||||
|
||||
@@ -536,7 +536,6 @@ snd_emu10k1x_pcm_pointer(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_emu10k1x_playback_ops = {
|
||||
.open = snd_emu10k1x_playback_open,
|
||||
.close = snd_emu10k1x_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_emu10k1x_pcm_hw_params,
|
||||
.hw_free = snd_emu10k1x_pcm_hw_free,
|
||||
.prepare = snd_emu10k1x_pcm_prepare,
|
||||
@@ -681,7 +680,6 @@ snd_emu10k1x_pcm_pointer_capture(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_emu10k1x_capture_ops = {
|
||||
.open = snd_emu10k1x_pcm_open_capture,
|
||||
.close = snd_emu10k1x_pcm_close_capture,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_emu10k1x_pcm_hw_params_capture,
|
||||
.hw_free = snd_emu10k1x_pcm_hw_free_capture,
|
||||
.prepare = snd_emu10k1x_pcm_prepare_capture,
|
||||
|
||||
@@ -1349,7 +1349,6 @@ static int snd_emu10k1_capture_efx_close(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_emu10k1_playback_ops = {
|
||||
.open = snd_emu10k1_playback_open,
|
||||
.close = snd_emu10k1_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_emu10k1_playback_hw_params,
|
||||
.hw_free = snd_emu10k1_playback_hw_free,
|
||||
.prepare = snd_emu10k1_playback_prepare,
|
||||
@@ -1360,7 +1359,6 @@ static const struct snd_pcm_ops snd_emu10k1_playback_ops = {
|
||||
static const struct snd_pcm_ops snd_emu10k1_capture_ops = {
|
||||
.open = snd_emu10k1_capture_open,
|
||||
.close = snd_emu10k1_capture_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_emu10k1_capture_prepare,
|
||||
.trigger = snd_emu10k1_capture_trigger,
|
||||
.pointer = snd_emu10k1_capture_pointer,
|
||||
@@ -1370,7 +1368,6 @@ static const struct snd_pcm_ops snd_emu10k1_capture_ops = {
|
||||
static const struct snd_pcm_ops snd_emu10k1_efx_playback_ops = {
|
||||
.open = snd_emu10k1_efx_playback_open,
|
||||
.close = snd_emu10k1_efx_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_params = snd_emu10k1_playback_hw_params,
|
||||
.hw_free = snd_emu10k1_efx_playback_hw_free,
|
||||
.prepare = snd_emu10k1_efx_playback_prepare,
|
||||
@@ -1440,7 +1437,6 @@ int snd_emu10k1_pcm_multi(struct snd_emu10k1 *emu, int device)
|
||||
static const struct snd_pcm_ops snd_emu10k1_capture_mic_ops = {
|
||||
.open = snd_emu10k1_capture_mic_open,
|
||||
.close = snd_emu10k1_capture_mic_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_emu10k1_capture_prepare,
|
||||
.trigger = snd_emu10k1_capture_trigger,
|
||||
.pointer = snd_emu10k1_capture_pointer,
|
||||
@@ -1534,7 +1530,6 @@ static const struct snd_kcontrol_new snd_emu10k1_pcm_efx_voices_mask = {
|
||||
static const struct snd_pcm_ops snd_emu10k1_capture_efx_ops = {
|
||||
.open = snd_emu10k1_capture_efx_open,
|
||||
.close = snd_emu10k1_capture_efx_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_emu10k1_capture_prepare,
|
||||
.trigger = snd_emu10k1_capture_trigger,
|
||||
.pointer = snd_emu10k1_capture_pointer,
|
||||
@@ -1767,7 +1762,6 @@ static int snd_emu10k1_fx8010_playback_close(struct snd_pcm_substream *substream
|
||||
static const struct snd_pcm_ops snd_emu10k1_fx8010_playback_ops = {
|
||||
.open = snd_emu10k1_fx8010_playback_open,
|
||||
.close = snd_emu10k1_fx8010_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.hw_free = snd_emu10k1_fx8010_playback_hw_free,
|
||||
.prepare = snd_emu10k1_fx8010_playback_prepare,
|
||||
.trigger = snd_emu10k1_fx8010_playback_trigger,
|
||||
|
||||
@@ -552,7 +552,6 @@ snd_p16v_pcm_pointer_capture(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_p16v_playback_front_ops = {
|
||||
.open = snd_p16v_pcm_open_playback_front,
|
||||
.close = snd_p16v_pcm_close_playback,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_p16v_pcm_prepare_playback,
|
||||
.trigger = snd_p16v_pcm_trigger_playback,
|
||||
.pointer = snd_p16v_pcm_pointer_playback,
|
||||
@@ -561,7 +560,6 @@ static const struct snd_pcm_ops snd_p16v_playback_front_ops = {
|
||||
static const struct snd_pcm_ops snd_p16v_capture_ops = {
|
||||
.open = snd_p16v_pcm_open_capture,
|
||||
.close = snd_p16v_pcm_close_capture,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_p16v_pcm_prepare_capture,
|
||||
.trigger = snd_p16v_pcm_trigger_capture,
|
||||
.pointer = snd_p16v_pcm_pointer_capture,
|
||||
|
||||
@@ -1204,7 +1204,6 @@ static int snd_ensoniq_capture_close(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_ensoniq_playback1_ops = {
|
||||
.open = snd_ensoniq_playback1_open,
|
||||
.close = snd_ensoniq_playback1_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_ensoniq_playback1_prepare,
|
||||
.trigger = snd_ensoniq_trigger,
|
||||
.pointer = snd_ensoniq_playback1_pointer,
|
||||
@@ -1213,7 +1212,6 @@ static const struct snd_pcm_ops snd_ensoniq_playback1_ops = {
|
||||
static const struct snd_pcm_ops snd_ensoniq_playback2_ops = {
|
||||
.open = snd_ensoniq_playback2_open,
|
||||
.close = snd_ensoniq_playback2_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_ensoniq_playback2_prepare,
|
||||
.trigger = snd_ensoniq_trigger,
|
||||
.pointer = snd_ensoniq_playback2_pointer,
|
||||
@@ -1222,7 +1220,6 @@ static const struct snd_pcm_ops snd_ensoniq_playback2_ops = {
|
||||
static const struct snd_pcm_ops snd_ensoniq_capture_ops = {
|
||||
.open = snd_ensoniq_capture_open,
|
||||
.close = snd_ensoniq_capture_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_ensoniq_capture_prepare,
|
||||
.trigger = snd_ensoniq_trigger,
|
||||
.pointer = snd_ensoniq_capture_pointer,
|
||||
|
||||
@@ -977,7 +977,6 @@ static int snd_es1938_playback_close(struct snd_pcm_substream *substream)
|
||||
static const struct snd_pcm_ops snd_es1938_playback_ops = {
|
||||
.open = snd_es1938_playback_open,
|
||||
.close = snd_es1938_playback_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_es1938_playback_prepare,
|
||||
.trigger = snd_es1938_playback_trigger,
|
||||
.pointer = snd_es1938_playback_pointer,
|
||||
@@ -986,7 +985,6 @@ static const struct snd_pcm_ops snd_es1938_playback_ops = {
|
||||
static const struct snd_pcm_ops snd_es1938_capture_ops = {
|
||||
.open = snd_es1938_capture_open,
|
||||
.close = snd_es1938_capture_close,
|
||||
.ioctl = snd_pcm_lib_ioctl,
|
||||
.prepare = snd_es1938_capture_prepare,
|
||||
.trigger = snd_es1938_capture_trigger,
|
||||
.pointer = snd_es1938_capture_pointer,
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user