summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [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>
* [ALSA] highlanderize motherboard AC97/HDA driversClemens Ladisch2005-11-048-210/+126
| | | | | | | | Remove the code for supporting eight cards from the integrated controller drivers because There Can Be Only One controller of each type per mainboard. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] sound: align device drivers menusRandy Dunlap2005-11-042-8/+8
| | | | | | | | | | | Modules: Sound Core,PCI drivers AC97 Kconfig entries broke the ALSA device drivers menu, so move them to a location where that won't happen, enabling all device sub-menus to be presented together. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Removing obsolete AC97_SHARED_TYPESSasha Khapyorsky2005-11-048-52/+3
| | | | | | | | | | This patch cleans last ac97 audio/modem codec interception in initialization procedures (ac97_mixer_new()) and removes obsolete SHARED_TYPE 'locking' which prevents from AMC codecs to function correctly. Signed-off-by: Sasha Khapyorsky <sashak@smlink.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] dev_class=SNDRV_PCM_CLASS_MODEM for modem PCMsSasha Khapyorsky2005-11-045-2/+7
| | | | | | | dev_class=SNDRV_PCM_CLASS_MODEM for all supported softmodem PCMs Signed-off-by: Sasha Khapyorsky <sashak@smlink.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ymfpci: add S/PDIF-in > S/PDIF-out loopGlen Masgai2005-11-041-15/+24
| | | | | | | | | | Modules: YMFPCI driver This patch adds a new mixer control called 'IEC958 Loop' which makes it possible to loop digital signals from S/PDIF-in to S/PDIF-out. Signed-off-by: Glen Masgai <mimosius@gmx.de> Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] sequencer: remove superfluous function parameterClemens Ladisch2005-11-041-5/+4
| | | | | | | | | Modules: ALSA sequencer Remove the last parameter of snd_seq_timer_set_tick_resolution() because it is always one. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] rtctimer: optimize module parameter validationClemens Ladisch2005-11-041-8/+3
| | | | | | | | | Modules: RTC timer driver The check whether rtctimer_freq is a power of two can be done easier with a simple bit operation. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] rtctimer: remove superfluous rtc_inc variableClemens Ladisch2005-11-041-8/+1
| | | | | | | | | Modules: RTC timer driver The rtc_inc variable is never used outside the interrupt handler, and is always one where it matters, so we can just remove it. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: remove old compatibility wrappers (2/2)Clemens Ladisch2005-11-043-14/+8
| | | | | | | | | Modules: USB generic driver Move the usb_complete_callback() compatibility wrapper out of the kernel tree. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: remove old compatibility wrappers (1/2)Clemens Ladisch2005-11-042-8/+2
| | | | | | | | | Modules: USB generic driver Move the usb_pipe_needs_resubmit() compatibility wrapper out of the kernel tree. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: add quirk commentsClemens Ladisch2005-11-041-1/+39
| | | | | | | | | Modules: USB generic driver Add more comments about other device modes and unsupported devices to the Roland part of the quirks table. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] au88x0: codec access procs for multiple AC97 codecsSasha Khapyorsky2005-11-045-17/+12
| | | | | | | | | | Modules: au88x0 driver This patch extends au88x0 AC97 codec access procedures to handle multiple codecs properly. Signed-off-by: Sasha Khapyorsky <sashak@smlink.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add description for ALC260 codecTakashi Iwai2005-11-041-0/+4
| | | | | | | | Modules: Documentation Added description for ALC260 codec models in hda-intel driver section. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - A new model for Fujitsu S7020Jonathan Woithe2005-11-041-3/+157
| | | | | | | | Modules: HDA Codec driver Added a new model 'fujitsu' to ALC260 config for Fujitsu S7020. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] usb-audio: ignore Hercules DJ Console mixer errorsClemens Ladisch2005-11-041-0/+5
| | | | | | | | | Modules: USB generic driver Add a quirk entry for the Hercules DJ Console to ignore timeouts on some mixer control transfers. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: simplify MIDI quirk handlingClemens Ladisch2005-11-042-56/+45
| | | | | | | | | | | | Modules: USB generic driver Simplify the handling of MIDI quirks by treating an interface without quirks as a QUIRK_MIDI_STANDARD_INTERFACE. This also fixes the bug where a MIDI_STANDARD quirk would not be recognized. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] cmipci: use FM/MIDI ports in PCI port spaceClemens Ladisch2005-11-041-50/+68
| | | | | | | | | Modules: CMIPCI driver If possible, use ports in the card's PCI port address range instead of the legacy ports. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] hda-intel - Add NVidia supportVinod G2005-11-041-9/+24
| | | | | | | | | | | Modules: HDA Intel driver This patch is to make the Intel HDA code work for NVIDIA azalia controller. Modified by Takashi Iwai <tiwai@suse.de> Signed-off-by: Vinod G. <vinodg@nvidia.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix a typoTakashi Iwai2005-11-041-1/+1
| | | | | | | | Modules: AC97 Codec Fix a typo in the last patch. Signed-off-by: Takashi Iwai <tiwai@suse.de>
OpenPOWER on IntegriCloud