Changeset 479 for GPL/trunk/alsa-kernel/isa
- Timestamp:
- May 1, 2010, 9:49:10 PM (16 years ago)
- Location:
- GPL/trunk/alsa-kernel/isa
- Files:
-
- 2 edited
-
sb/sb16_csp.c (modified) (7 diffs)
-
wavefront/wavefront_fx.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/isa/sb/sb16_csp.c
r426 r479 6 6 * 7 7 * CSP microcode loader: 8 * alsa-tools/sb16_csp/ 8 * alsa-tools/sb16_csp/ 9 9 * 10 * This program is free software; you can redistribute it and/or modify 10 * This program is free software; you can redistribute it and/or modify 11 11 * it under the terms of the GNU General Public License as published by 12 12 * the Free Software Foundation; either version 2 of the License, or … … 32 32 #include <sound/sb16_csp.h> 33 33 #include <sound/initval.h> 34 #include <proto.h> 34 35 35 36 MODULE_AUTHOR("Uros Bizjak <uros@kss-loka.si>"); … … 300 301 301 302 /* 302 * load microcode via ioctl: 303 * load microcode via ioctl: 303 304 * code is user-space pointer 304 305 */ … … 682 683 return result; 683 684 } 684 685 685 686 static int snd_sb_csp_load_user(struct snd_sb_csp * p, const unsigned char __user *buf, int size, int load_flags) 686 687 { … … 731 732 732 733 /* if CSP is running or manually loaded then exit */ 733 if (p->running & (SNDRV_SB_CSP_ST_RUNNING | SNDRV_SB_CSP_ST_LOADED)) 734 if (p->running & (SNDRV_SB_CSP_ST_RUNNING | SNDRV_SB_CSP_ST_LOADED)) 734 735 return -EBUSY; 735 736 … … 764 765 } 765 766 p->acc_format = SNDRV_PCM_FMTBIT_IMA_ADPCM; 766 break; 767 break; 767 768 default: 768 769 /* Decouple CSP from IRQ and DMAREQ lines */ … … 788 789 p->acc_channels = SNDRV_SB_CSP_MONO | SNDRV_SB_CSP_STEREO; 789 790 p->acc_rates = SNDRV_SB_CSP_RATE_ALL; /* HW codecs accept all rates */ 790 } 791 } 791 792 792 793 } -
GPL/trunk/alsa-kernel/isa/wavefront/wavefront_fx.c
r426 r479 25 25 #include <sound/snd_wavefront.h> 26 26 #include <sound/initval.h> 27 #include <proto.h> 27 28 28 29 /* Control bits for the Load Control Register … … 152 153 } 153 154 154 int 155 int 155 156 snd_wavefront_fx_release (struct snd_hwdep *hw, struct file *file) 156 157
Note:
See TracChangeset
for help on using the changeset viewer.
