Changeset 209 for GPL/trunk/alsa-kernel
- Timestamp:
- Jun 26, 2007, 5:32:43 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/isa/opl3sa2.c
r135 r209 322 322 int snd_opl3sa_get_single(snd_kcontrol_t * kcontrol, snd_ctl_elem_value_t * ucontrol) 323 323 { 324 struct snd_opl3sa *oplcard = (struct snd_opl3sa *) _snd_kcontrol_chip(kcontrol);324 struct snd_opl3sa *oplcard = (struct snd_opl3sa *)snd_kcontrol_chip(kcontrol); 325 325 unsigned long flags; 326 326 int reg = kcontrol->private_value & 0xff; … … 339 339 int snd_opl3sa_put_single(snd_kcontrol_t * kcontrol, snd_ctl_elem_value_t * ucontrol) 340 340 { 341 struct snd_opl3sa *oplcard = (struct snd_opl3sa *) _snd_kcontrol_chip(kcontrol);341 struct snd_opl3sa *oplcard = (struct snd_opl3sa *)snd_kcontrol_chip(kcontrol); 342 342 unsigned long flags; 343 343 int reg = kcontrol->private_value & 0xff; … … 390 390 int snd_opl3sa_get_double(snd_kcontrol_t * kcontrol, snd_ctl_elem_value_t * ucontrol) 391 391 { 392 struct snd_opl3sa *oplcard = (struct snd_opl3sa *) _snd_kcontrol_chip(kcontrol);392 struct snd_opl3sa *oplcard = (struct snd_opl3sa *)snd_kcontrol_chip(kcontrol); 393 393 unsigned long flags; 394 394 int left_reg = kcontrol->private_value & 0xff; … … 412 412 int snd_opl3sa_put_double(snd_kcontrol_t * kcontrol, snd_ctl_elem_value_t * ucontrol) 413 413 { 414 struct snd_opl3sa *oplcard = (struct snd_opl3sa *) _snd_kcontrol_chip(kcontrol);414 struct snd_opl3sa *oplcard = (struct snd_opl3sa *)snd_kcontrol_chip(kcontrol); 415 415 unsigned long flags; 416 416 int left_reg = kcontrol->private_value & 0xff; … … 469 469 static void snd_opl3sa_master_free(snd_kcontrol_t *kcontrol) 470 470 { 471 struct snd_opl3sa *oplcard = (struct snd_opl3sa *) _snd_kcontrol_chip(kcontrol);471 struct snd_opl3sa *oplcard = (struct snd_opl3sa *)snd_kcontrol_chip(kcontrol); 472 472 473 473 oplcard->master_switch = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.