summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ALSA] AMD Au1x00 driver: buggy spinlocksKonstantin Baydarov2005-11-041-4/+4
| | | | | | | | | | | | Modules: MIPS AU1x00 driver AMD Au1x00 ALSA driver fails compilation with the alternate spinlock implementation because it doesn't do locking/unlocking correctly in some places (passes spinlock by value). Signed-off-by: Konstantin Baydarov <kbaidarov@ru.mvista.com> Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] intel8x0 - Add ac97_quirk for Dell Inspiron 8600Karoly Lorentey2005-11-041-0/+6
| | | | | | | | | Modules: Intel8x0 driver Add AC97_TUNE_HP_ONLY quirk for Dell Inspiron 8600. Signed-off-by: Karoly Lorentey <lorentey@elte.hu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] emu10k1 - Use 31 bit DMA mask for AudigyLee Revell2005-11-041-1/+2
| | | | | | | | | | | | | | Modules: EMU10K1/EMU10K2 driver It appears that either the Audigy DMA engine or the Linux kernel cannot handle 32 bit DMA with this device. Problem manifests as noise when using more than 2GB of RAM, possibly only on 64 bit machines. The OSS driver actually uses a 29 bit DMA mask for both devices, this seems like overkill for now. Signed-off-by: Lee Revell <rlrevell@joe-job.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] AZT3328 driver updateAndreas Mohr2005-11-042-388/+728
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: AZT3328 driver this is now an even much more reworked patch (#3) for my azt3328.c ALSA driver. IOW I spent another 4 evenings to get the sequencer timer to work properly (my head is still hurting) and do lots of other cleanups. Note that despite the extensive sequencer timer additions, the driver object is still only 2kB bigger than the previous version, due to those many optimizations... Changes in version #3: - fully working ALSA sequencer timer support for the card's 1024000Hz DirectX timer (downscaling adjustable via seqtimer_scaling module param) - an insane amount of code optimizations - many, many cleanups Changes in version #2: - FOUND the 1us DirectX timer area (yay!), made the code respect it properly - renamed some 'weird' mixer control names according to ControlNames.txt - cleanup unneeded debug messages, reformatting - improved I/O register documentation - constified many more structs Changes in version #1: - improves/fixes some fatal playback/recording interaction - improves IRQ handler performance (and actually fixes some weird code) - coalesces some I/O accesses - slightly improves I/O interface documentation - improves/fixes logging - defines out some less important debug code - constifies some data Signed-off-by: Andreas Mohr <andi@lisas.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix emu10k1 synth problems.Tim2005-11-042-3/+2
| | | | | | | | | | Modules: EMU10K1/EMU10K2 driver,Common EMU synth This patch fixes problems with voices cutting off or not sounding at all. Signed-off-by: Tim <tedon@rogers.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix a typo in the last fixTakashi Iwai2005-11-041-1/+1
| | | | | | | | Modules: ALSA Core Fix a typo (bogus check) in the last patch to fix Oops with suspend/resume. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] fix improper CONFIG_SND_MAJOR usageClemens Ladisch2005-11-044-16/+8
| | | | | | | | Modules: HWDEP Midlevel,PCM Midlevel,RawMidi Midlevel,ALSA Core Replace usage of CONFIG_SND_MAJOR with snd_major, where appropriate. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: remove superfluous includeClemens Ladisch2005-11-041-1/+0
| | | | | | | | Modules: USB generic driver Remove a superfluous include of the sound/minors.h header. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] clean up device types symbolsClemens Ladisch2005-11-042-7/+5
| | | | | | | | | | Modules: ALSA Core,ALSA Minor Numbers Remove the unused and undefined symbols SNDRV_DEVICE_TYPE_{MIXER, PCM_PLOOP,PCM_CLOOP}, and introduce a new symbol SNDRV_MINOR_GLOBAL for non-card-specific devices like the sequencer or the timer. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] Big kfree NULL check cleanup - soundJesper Juhl2005-11-042-5/+3
| | | | | | | | | | | | Modules: AD1889 driver,RME9652 driver This is the sound/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in sound/. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix schedule_timeout usageNishanth Aravamudan2005-11-0428-112/+51
| | | | | | | | | | | Use schedule_timeout_{,un}interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Also use human-time conversion functions instead of hard-coded division to avoid rounding issues. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] intel8x0 - fix capture for M1563Wei Ni2005-11-041-2/+2
| | | | | | | | | | Modules: Intel8x0 driver 1.In intel8x0_measure_ac97_clock routine, when stop DMA, there is not stop DMA corectly, but start another PCM In2 DMA engine. 2.In do_ali_reset routine, there is only need to enable PCM IN and PCM OUT. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] ca0106: Added copyright messages.James Courtier-Dutton2005-11-041-0/+2
| | | | | | Modules: CA0106 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] ca0106: Cosmetic changes.James Courtier-Dutton2005-11-043-20/+17
| | | | | | | | Modules: CA0106 driver Just tidying up the code. Making more functions static. Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] Add missing KERN_* prefixTakashi Iwai2005-11-047-27/+29
| | | | | | | | Modules: ALSA<-OSS emulation,USB generic driver,USB USX2Y Added missing KERN_* prefix to printk. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] snd-ca0106: Add midi support.James Courtier-Dutton2005-11-046-5/+512
| | | | | | | | Modules: PCI drivers,CA0106 driver Author: Tilman Kranz <tilde@tk-sls.de> Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] hdsp - Code clean upTakashi Iwai2005-11-041-371/+217
| | | | | | | | | | Modules: RME HDSP driver - Add missing KERN_* suffix to printk. - Clean up parentheses. - clean up the firmware check code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add missing KERN_* suffix to printkTakashi Iwai2005-11-0460-299/+299
| | | | | | Add missing KERN_* suffix to printk. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove multi-card support for ali5451 and nm256Takashi Iwai2005-11-043-77/+64
| | | | | | | | | Modules: Documentation,ALI5451 driver,NM256 driver Removed multi-card supports for ali5451 and nm256 drivers. They are supposed to be a single device. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix the type of enable module optionTakashi Iwai2005-11-047-7/+7
| | | | | | Fix the type of enable module option to bool. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add description about a new option of nm256 driverTakashi Iwai2005-11-041-0/+7
| | | | | | | | Modules: Documentation Add description about a new option of nm256 driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] nm256: reset workaround for Latitude CSxJohn W. Linville2005-11-041-3/+20
| | | | | | | | | | | | | | | | | | Modules: NM256 driver The current snd-nm256 driver can cause Dell Latitude CSx laptops to lock-up during module (un)load. I have isolated this to the writes to the control port register at offset 0x6cc which were not already protected by the existing reset_workaround. I tried grouping these writes with the existing reset_workaround clause, but that caused the driver to have (un)load problems on the Dell Latitude LS laptops. So, I have implemented a reset_workaround_2 clause (please feel free to suggest a better name!) to cover this situation and added a quirk entry for the CSx laptops. Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ymfpci: change timer resolution to 48 kHzClemens Ladisch2005-11-041-6/+4
| | | | | | | | | | Modules: YMFPCI driver We better pretend that the ymfpci timer runs at 48 kHz because the interrupt frequency cannot be higher, and clients that would try to use 96 kHz would run at half their desired speed. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] seq-timer: restrict timer frequenciesClemens Ladisch2005-11-041-3/+17
| | | | | | | | | | | | | Modules: ALSA sequencer When no default timer frequency has been set, initialize_timer() just uses the maximum frequency supported by the timer, which is ridiculously high on 96 kHz timers. This patch introduces a default frequency of 1000 Hz for this case, and makes sure that a frequency set by the user isn't too high. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] Fix maestro3 hang after cold bootCharles R. Anderson2005-11-041-1/+1
| | | | | | | | | | | Modules: Maestro3 driver This patch fixes the maestro3 driver to call the snd_m3_assp_init function to write the DSP firmware into the ASSP chip before sending the RUN_ASSP command, thereby solving the hang after a cold boot. Signed-off-by: Charles R. Anderson <cra@alum.wpi.edu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] intel8x0 - Fix handling of module parametersTakashi Iwai2005-11-041-7/+7
| | | | | | | | | Modules: Intel8x0 driver - Set buggy_irq parameter before registration of irq handler. - Clean up module parameter handling. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Reduce interrupt latency in sound/pci/via82xx.cKarsten Wiese2005-11-041-39/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: VIA82xx driver The change only affects the via823x kind of chips. Here the via8233_pcm_pointer_hw() function (named snd_via8233_pcm_pointer() before) needed to loop until a non zero position is red from the chip. Measurements have shown that more than 200 loops are typically needed on an Athlon64. As io-reads cost many cycles, those loops sum up huge. via8233_pcm_pointer_hw() runs either in interrupt or with interrupts disabled. So it introduces significant interrupt latency. The patch introduces a calculated position value hwptr_done, that is updated by the interrupt routine when a period is completed. It is only used, if the 823x chip returns a zero position, which can't be interpreted reliably. Further optimisation is applied on the 8233 chip's interrupt routine: Only the SGD_SHADOW is read, as it contains all infos needed. We ommit ~5 more register reads that way. Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] usb-audio: don't call usb_reset_configuration() when probingClemens Ladisch2005-11-041-7/+0
| | | | | | | | | | Modules: USB generic driver Remove the usb_reset_configuration() call from the probe callback because it isn't needed and it may interfere with other drivers already loaded for the device. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] Enable DXS controls for VIA VT82xxHonza Maly2005-11-041-11/+63
| | | | | | | | | | | Modules: VIA82xx driver The patch enable separate DXS controls of sound function of VIA VT82xx controller in case DXS volume is not needed for PCM Playback volume control emulation. Signed-off-by: Honza Maly <hkmaly@matfyz.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove obsolete chip_tTakashi Iwai2005-11-044-10/+2
| | | | | | | | Modules: Documentation,MIPS AU1x00 driver,PPC Beep,SPARC DBRI driver Removed the use of chip_t, which was obsoleted. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] timer: formatting changesClemens Ladisch2005-11-041-112/+167
| | | | | | | | | Modules: Timer Midlevel Split or rewrite lines that are longer than 80 characters, and remove whitespaces at the end of lines. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] timer: remove list_entry() type castsClemens Ladisch2005-11-041-21/+22
| | | | | | | | | Modules: Timer Midlevel The return value of list_entry() already has the type from the second argument, so we don't need to typecase it again. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] timers: add module refcounting for global timersClemens Ladisch2005-11-043-4/+8
| | | | | | | | | | Modules: RTC timer driver,Timer Midlevel Add a module pointer to the timer structure and use it for refcounting instead of the card's module pointer to prevent the global timer modules (rtctimer and hpetimer) from being removed while in use. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] timer: fix timer instance memory allocation checksClemens Ladisch2005-11-041-18/+24
| | | | | | | | Modules: Timer Midlevel Add checks to return -ENOMEM in case snd_timer_instance_new() fails. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] Add support of high-rate SPDIF outputTakashi Iwai2005-11-041-12/+29
| | | | | | | | Modules: ICE1724 driver Add support of SPDIF output with sample rates higher than 48kHz. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add the missing forward declrationTakashi Iwai2005-11-041-0/+1
| | | | | | | | Modules: ALSA Core Added the missing forward declaration before function prototypes. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Get subsystem ID from AFG/MFGTakashi Iwai2005-11-042-0/+9
| | | | | | | | Modules: HDA Codec driver Get subsytem ID from AFG/MFG if not obtained from the root node. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] es1938 - Clean up and fix trigger in PMTakashi Iwai2005-11-041-2/+10
| | | | | | | | | Modules: ES1938 driver - Clean up the last PM fix - Add TRIGGER_SUSPEND/RESUME to disable/enable DMA properly during PM Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] es1938 - Fix resumeRudolf Marek2005-11-041-1/+3
| | | | | | | | | | | | Modules: ES1938 driver This patch fixes the suspend/resume issue I'm having with ESS-Solo1 soundcard. Without this patch I might get after resume message that kernel is disabling the IRQ5 (soundcard). If there was something playing it wont continue after resume without this patch. Signed-off-by: Rudolf Marek <r.marek@sh.cvut.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] via82xx - Add DXS entry for Clevo D470Takashi Iwai2005-11-041-0/+1
| | | | | | | | Modules: VIA82xx driver Added the DXS entry for Clevo D470 laptop. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove kmalloc wrappersTakashi Iwai2005-11-048-224/+4
| | | | | | | | Modules: ALSA Core Remove kmalloc wrappers. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove vmalloc wrapper, kfree_nocheck()Takashi Iwai2005-11-0444-311/+86
| | | | | | | | - Remove vmalloc wrapper - Add release_and_free_resource() to remove kfree_nocheck() from each driver and simplify the code Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Make snd_task_name() module localTakashi Iwai2005-11-044-13/+11
| | | | | | | | | Modules: ALSA Core,ALSA<-OSS emulation Remove a global function snd_task_name(), and move it local to snd-pcm-oss module. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Use getnstimeofday()Takashi Iwai2005-11-046-41/+10
| | | | | | | | Modules: Documentation,PCM Midlevel,Timer Midlevel,ALSA Core Use the standard getnstimeofday() function instead of ALSA's own one. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove snd_runtime_check() macroTakashi Iwai2005-11-0417-102/+126
| | | | | | | | | | | Remove snd_runtime_check() macro. This macro worsens the readability of codes. They should be either normal if() or removable asserts. Also, the assert displays stack-dump, instead of only the last caller pointer. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Sasha Khapyorsky: My email address is changed, there is update.Sasha Khapyorsky2005-11-043-3/+3
| | | | | | | Modules: Intel8x0-modem driver,VIA82xx-modem driver,HDA Codec driver Signed-off-by: Sasha Khapyorsky <sashakh@alsa-project.org> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] intel8x0 - enable ac97_quirk hp_only for Acer Aspire 3003LCiDick Streefland2005-11-041-0/+6
| | | | | | | | | | | | Modules: Intel8x0 driver On my Acer Aspire 3003LCi laptop, the speaker volume is not controlled by the master control, but by the headphone control. Enabling the 'hp_only' quirk corrects this. The patch below adds this device to the list of known quirks. Signed-off-by: Dick Streefland <dick@streefland.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Allow 8-44khz sample rates on Revolution 7.1Takashi Iwai2005-11-041-13/+0
| | | | | | | | | Modules: ICE1724 driver Remove the restcition of sample rates on Revolution 7.1 board. This enables the low 8-44kHz sample rates. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add dummy obsoleted module options for backward compatibilityTakashi Iwai2005-11-047-0/+30
| | | | | | | Added dummay obsoleted module options for backward compatibility (to reduce possible bugzilla entries :) Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] intel8x0 - Suppress the codec warnings during probingTakashi Iwai2005-11-041-2/+5
| | | | | | | | Modules: Intel8x0 driver Suppress the codec warnings during probing of codecs. Signed-off-by: Takashi Iwai <tiwai@suse.de>