Changeset 135 for GPL/trunk/alsa-kernel/pci/trident
- Timestamp:
- Jun 13, 2007, 9:06:25 AM (18 years ago)
- Location:
- GPL/trunk/alsa-kernel/pci/trident
- Files:
-
- 2 edited
-
trident.c (modified) (1 diff)
-
trident_main.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/pci/trident/trident.c
r77 r135 78 78 MODULE_DEVICE_TABLE(pci, snd_trident_ids); 79 79 80 // 12 Jun 07 SHL fixme to be in some .h 81 void __devinit snd_trident_gameport(struct snd_trident *chip); 82 80 83 static int __devinit snd_trident_probe(struct pci_dev *pci, 81 84 const struct pci_device_id *pci_id) -
GPL/trunk/alsa-kernel/pci/trident/trident_main.c
r84 r135 145 145 146 146 /*--------------------------------------------------------------------------- 147 void snd_trident_codec_write(ac97_t *ac97, unsigned short reg, unsigned short wdata )147 void snd_trident_codec_write(ac97_t *ac97, unsigned short reg, unsigned short wdata unsigned short unused) 148 148 149 149 Description: This routine will do all of the writing to the external … … 2355 2355 snd_trident_spdif_control_get, 2356 2356 snd_trident_spdif_control_put, 2357 0, 2357 2358 0x28, 2358 2359 }; … … 2567 2568 snd_trident_ac97_control_get, 2568 2569 snd_trident_ac97_control_put, 2570 0, 2569 2571 4, 2570 2572 }; … … 2623 2625 snd_trident_vol_control_get, 2624 2626 snd_trident_vol_control_put, 2625 16, 2627 0, // tlv 2628 16 // private 2626 2629 }; 2627 2630 … … 2940 2943 int idx, err, retries = 2; 2941 2944 static ac97_bus_ops_t ops = { 2942 0,snd_trident_codec_write, 2943 snd_trident_codec_read,0,0 2945 0, // reset 2946 0, // warm_reset 2947 snd_trident_codec_write, 2948 snd_trident_codec_read, 2949 0, // wait 2950 0 // init 2944 2951 }; 2945 2952 uctl = kcalloc(1, sizeof(*uctl), GFP_KERNEL);
Note:
See TracChangeset
for help on using the changeset viewer.
