aboutsummaryrefslogtreecommitdiffstats
path: root/sound
Commit message (Collapse)AuthorAgeFilesLines
...
* [ALSA] usb-audio: fix packets per URB calculation for playbackClemens Ladisch2005-08-301-1/+9
| | | | | | | | | | USB generic driver When determining how many packets are needed for one period, we cannot assume that all packets have their maximum size -- we always use the nominal sample rate when sending data, and could use an even lower rate when the endpoint uses frequency feedback. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: use 1 ms URBs when capturingClemens Ladisch2005-08-301-6/+12
| | | | | | | | | | | | | USB generic driver When capturing audio data, we do not know beforehand how many samples the device sends per frame, so we have to use URBs that are as short as possible to make sure that we can handle period boundaries without any additional latencies. Furthermore, the total count of URBs submitted doesn't matter when capturing, so we can just use the maximum number. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] make local objects staticClemens Ladisch2005-08-307-14/+16
| | | | | | | | Memalloc module,PCM Midlevel,Timer Midlevel,GUS Library,AC97 Codec ALI5451 driver,RME9652 driver Make some functions/variables that are used in only one file static. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] hda-codec - support for Si3054/5 HDA modemsSasha Khapyorsky2005-08-303-1/+304
| | | | | | | | HDA generic driver,HDA Codec driver Support for Si3054/5 HDA modem codecs. Signed-off-by: Sasha Khapyorsky <sashak@smlink.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* ALSA CVS updateSasha Khapyorsky2005-08-303-12/+22
| | | | | | | | | | | HDA Codec driver,HDA generic driver Summar: hda-codec - MFG support This adds Modem Functional Group (MFG) support and option for 9600 sample rate. Signed-off-by: Sasha Khapyorsky <sashak@smlink.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ALSA's struct _snd_pcm_substream: Obsolete open_flagKarsten Wiese2005-08-304-17/+22
| | | | | | | | | | PCM Midlevel,ALSA<-OSS emulation,USB USX2Y This patch removes open_flag from struct _snd_pcm_substream. All of its uses are substituted by querying struct _snd_pcm_substream's member ffile instead. Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ymfpci: add per-voice volume controlsClemens Ladisch2005-08-301-72/+160
| | | | | | | | YMFPCI driver Implements mixer controls for the volume of each playback substream of the main PCM device. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] Fix compiler warnings in PXA2XX-AC97Dirk Opfer2005-08-301-4/+4
| | | | | | | | | ARM PXA2XX driver - change pxa2xx_ac97_do_suspend and pxa2xx_ac97_do_resume to use the expected arguments Signed-off-by: Dirk Opfer <dirk@do13.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] WM9713 modem detectionLiam Girdwood2005-08-301-0/+1
| | | | | | | | | | | | | AC97 Codec This patch fixes a problem whereby the WM9713 has modem functionality incorrectly detected after an AC97 cold reset. Changes:- o Cleared AC97_SCAP_MODEM in wm9713 scaps Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] PXA27x AC97 warm resetLiam Girdwood2005-08-301-2/+2
| | | | | | | | | | | | | | | ARM PXA2XX driver This patch extends the period of an AC97 warm reset on the PXA27x from 50uS to 500uS. The shorter reset didn't always guarantee that the codec would wake up. Changes:- o Change pxa27x warm reset period to 500uS o Removed double semi-colon. Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ad1816a - Add clockfreq module optionTakashi Iwai2005-08-302-4/+15
| | | | | | | | Documentation,AD1816A driver Added clockfreq module option for the card with a different clock frequency than 33kHz. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] use PCM interface for IEC958 controlsClemens Ladisch2005-08-307-19/+23
| | | | | | | | | Digigram VX core,ENS1370/1+ driver,CA0106 driver,EMU10K1/EMU10K2 driver RME HDSP driver,RME9652 driver For consistency, use the PCM interface instead of MIXER for IEC958 default/mask/stream mixer controls. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] use SNDRV_CTL_NAME_IEC958 macroClemens Ladisch2005-08-3011-36/+36
| | | | | | | | | | CMI8330 driver,ENS1370/1+ driver,FM801 driver,VIA82xx driver,AC97 Codec ALI5451 driver,CS46xx driver,EMU10K1/EMU10K2 driver,HDA Codec driver ICE1712 driver,ICE1724 driver Where appropriate, use the SNDRV_CTL_NAME_IEC958 instead of a literal string. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] adds __init and in snd_memory_init()Henrik Kretzschmar2005-08-301-1/+1
| | | | | | | | ALSA Core This patch adds the __init macro to snd_memory_init(). Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] AC97 bus interface for ad-hoc driversLiam Girdwood2005-08-304-3/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AC97 Codec,PCI drivers I've made the review changes and as requested I've pasted the RFC by Nicolas below:- 'I would like to know what people think of the following patch. It allows for a codec on an AC97 bus to be shared with other drivers which are completely unrelated to audio. It registers a new bus type, and whenever a codec instance is created then a device for it is also registered with the driver model using that bus type. This allows, for example, to use the extra features of the UCB1400 like the touchscreen interface and the additional GPIOs and ADCs available on that chip for battery monitoring. I have a working UCB1400 touchscreen driver here that simply registers with the driver model happily working alongside with audio features using this.' Changes over RFC:- o Now matches codec name within codec group. o Added ac97_dev_release() to stop kernel complaining about no release method for device. o Added 'config SND_AC97_BUS' to sound/pci/Kconfig and moved 'config SND_AC97_CODEC' out with the PCI=n statement. o module is now called snd-ac97-bus Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound - fix .iface field of mixer control elementsClemens Ladisch2005-08-3018-81/+96
| | | | | | | | | | | | | | | Documentation,CS46xx driver,EMU10K1/EMU10K2 driver,AD1848 driver SB16/AWE driver,CMIPCI driver,ENS1370/1+ driver,RME32 driver RME96 driver,ICE1712 driver,ICE1724 driver,KORG1212 driver RME HDSP driver,RME9652 driver This patch changes .iface to SNDRV_CTL_ELEM_IFACE_MIXER whre _PCM or _HWDEP was used in controls that are not associated with a specific PCM (sub)stream or hwdep device, and changes some controls that got inconsitent .iface values due to copy+paste errors. Furthermore, it makes sure that all control that do use _PCM or _HWDEP use the correct number in the .device field. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] via82xx - Add dxs entry for Acer Aspire 1524 WMLiTakashi Iwai2005-08-301-0/+1
| | | | | | | VIA82xx driver Added the dxs entry for Acer Aspire 1524 WMLi. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix LFE volume/switchNicolas Graziano2005-08-301-4/+9
| | | | | | | | HDA Codec driver Fixed LFE volume/switch control. Signed-off-by: Nicolas Graziano <nicolas.graziano@wanadoo.fr> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add default config for ASUS P5AD2Takashi Iwai2005-08-301-0/+1
| | | | | | | HDA Codec driver Added the default config for ASUS P5AD2. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix reordering of surround channelsTakashi Iwai2005-08-301-3/+20
| | | | | | | | | | HDA Codec driver - Fixed the reordering of surround channels. Originally reported by Nicolas GRAZIANO <nicolas.graziano@wanadoo.fr>. - Show the selected ssid when debug option is set. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] WM97xx AC97 codec controlsLiam Girdwood2005-08-302-109/+364
| | | | | | | | | | | | | AC97 Codec o Enhanced current WM97xx support to provide additional controls and use the kcontrol suffix naming convention. o Added AC97_HAS_NO_MIC, AC97_HAS_NO_TONE and AC97_HAS_NO_STD_PCM. o Cleaned up WM97xx related comments. o Removed some wm9713 double mono controls and replaced with stereo controls. Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* Merge head 'upstream-fixes' of ↵Linus Torvalds2005-08-231-2/+2
|\ | | | | | | master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/misc-2.6
| * [PATCH] i810_audio: fix release_region misordering in error exit from i810_probeJohn W. Linville2005-08-231-2/+2
| | | | | | | | | | | | | | | | Re-order release_region calls in i810_probe to properly unwind preceding allocations. Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] ad1980 makefile fixAl Viro2005-08-231-1/+1
| | | | | | | | | | | | | | ac97_plugin_ad1980 should trigger build of ac97_codec Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] Kconfig fix (missing dependencies on PCI in sound/*)Al Viro2005-08-231-5/+5
| | | | | | | | | | | | | | a bunch of PCI-only drivers didn't have the right dependency Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] vidc gcc4 fixAl Viro2005-08-231-4/+0
| | | | | | | | | | | | | | removes an extern for a static variable. Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] Kconfig fix (ISA_DMA_API and sound/*)Al Viro2005-08-236-8/+8
|/ | | | | | | | fixed kconfig dependencies on ISA_DMA_API for parts of sound/* that rely on it. Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Stop snd-powermac oopsing on non-pmac hardware.David Woodhouse2005-08-171-1/+2
| | | | | | | We shouldn't be assuming that ppc_md.feature_call will be present. Signed-off-by: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* merge 2.6.13-rc4 with ACPI's to-linus treeLen Brown2005-07-3060-1074/+5012
|\
| * [ALSA] wavefront - declare initialization data as staticTakashi Iwai2005-07-281-17/+17
| | | | | | | | | | Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
| * [ALSA] via82xx - Fix dxs_support of twinhead laptopTakashi Iwai2005-07-281-1/+1
| | | | | | | | | | | | | | VIA82xx driver Changed the dxs_support value of twinhead laptop to DXS_SRC. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * [ALSA] Jack Sense support for AD1980 and AD1888Sergey Ulanov2005-07-281-0/+3
| | | | | | | | | | | | | | AC97 Codec Attached patch adds 'Jack Sense' controls for AD1980 and AD1888 chips. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * [ALSA] vx-driver - Fix the calculation of frequency parameterTakashi Iwai2005-07-281-28/+18
| | | | | | | | | | | | | | Digigram VX core Fixed the calculation of frequency parameter of vx boards. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * [ALSA] hda driver, correct bug in model 'auto'Nicolas Graziano2005-07-281-3/+2
| | | | | | | | | | | | | | | | HDA Codec driver - Correct some index variable inversion in patch_cmedia.c Signed-off-by: Nicolas Graziano <nicolas.graziano@wanadoo.fr> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * [ALSA] sound/core Fix the sparse warning 'implicit cast to nocast type'Victor Fusco2005-07-285-10/+14
| | | | | | | | | | | | | | | | | | | | | | Memalloc module,ALSA Core,Instrument layer Fix the sparse warning 'implicit cast to nocast type' File/Subsystem:sound/core Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
| * [ALSA] usb-audio - change quirk type handlingClemens Ladisch2005-07-282-41/+53
| | | | | | | | | | | | | | | | | | USB generic driver Make the quirk type an enum instead of a #defined integer, and use a table for the quirk constructor functions instead of a big switch statement. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
| * [ALSA] usb-audio - add support for Miditech USB MIDI keyboardsClemens Ladisch2005-07-284-0/+26
| | | | | | | | | | | | | | | | USB generic driver Add support for Miditech Midistart and MidiStudio keyboards (another case of devices using the standard protocol but having no descriptors). Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
| * [ALSA] seq-midi - silently ignore non-MIDI eventsClemens Ladisch2005-07-281-10/+6
| | | | | | | | | | | | | | | | | | ALSA sequencer When non-MIDI sequencer events are sent to a RawMIDI port, silently ignore them instead of returning a confusing error code which may upset the sequencer and abort the current write() to /dev/snd/seq. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
| * [ALSA] ac97 - remove unused variableClemens Ladisch2005-07-281-1/+0
| | | | | | | | | | | | | | AC97 Codec remove a variable made obsolete by the last change Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
| * [ALSA] ac97: Fix volume control bit size detection for STAC9704.James Courtier-Dutton2005-07-281-0/+5
| | | | | | | | | | | | AC97 Codec Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
| * [ALSA] emu10k1: Add EMU 1212m card entry and document it as not supported yet.James Courtier-Dutton2005-07-281-0/+7
| | | | | | | | | | | | EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
| * [ALSA] Fix-up sleeping in sound/usbNishanth Aravamudan2005-07-283-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | USB generic driver,USB USX2Y Description: Fix-up sleeping in sound/usb. Replace big_mdelay() with msleep() to guarantee the task delays as expected. This also involved replacing/removing custom sleep functions. Patch is compile-tested. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
| * [ALSA] Fix-up sleeping in sound/ppcNishanth Aravamudan2005-07-283-16/+11
| | | | | | | | | | | | | | | | | | | | PPC AWACS driver,PPC PMAC driver,PPC Tumbler driver Description: Fix-up sleeping in sound/ppc. Replace big_mdelay() with msleep() to guarantee the task delays as expected. This also involved replacing/removing custom sleep functions. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
| * [ALSA] sound/pci: fix-up sleeping pathsNishanth Aravamudan2005-07-2812-68/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ENS1370/1+ driver,ES1968 driver,Intel8x0 driver,VIA82xx driver VIA82xx-modem driver,AC97 Codec,ALI5451 driver,CS46xx driver MIXART driver,RME HDSP driver,Trident driver,YMFPCI driver Description: Fix-up sleeping in sound/pci. These changes fall under the following two categories: 1) Replace schedule_timeout() with msleep() to guarantee the task delays as expected. This also involved replacing/removing custom sleep functions. 2) Do not assume jiffies will only increment by one if you request a 1 jiffy sleep, i.e. use time_after/time_before in while loops. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
| * [ALSA] ens1371 - added extra delay for ac97 codec initializationJaroslav Kysela2005-07-281-0/+10
| | | | | | | | | | | | ENS1370/1+ driver Signed-off-by: Jaroslav Kysela <perex@suse.cz>
| * [ALSA] typo-fix and snd_assert()-expression-splitHenrik Kretzschmar2005-07-281-2/+3
| | | | | | | | | | | | | | | | | | | | ALSA Core This patch corrects a typo in the kerneldocs of snd_info_get_str(). It also splits the expressions of snd_assert() in snd_info_unregister() into one-expression-per-call for better debugging. Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * [ALSA] fix compiler warningHenrik Kretzschmar2005-07-281-0/+2
| | | | | | | | | | | | | | | | GUS Library This patch fixes a compiler warning if sequencer is disabled. Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
| * [ALSA] snd-emu10k1: Fixes recognition of Audigy ES.James Courtier-Dutton2005-07-281-5/+5
| | | | | | | | | | | | | | EMU10K1/EMU10K2 driver Fixes ALSA bug #1237. Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
| * [ALSA] emu10k1: Add module option uint subsystem.James Courtier-Dutton2005-07-282-9/+22
| | | | | | | | | | | | | | | | | | EMU10K1/EMU10K2 driver It allows the user to force the snd-emu10k1 module to think the user has a particular sound card. Useful if their particular sound card is not yet recognised. Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
| * [ALSA] via82xx - changed MSI K7T266 Pro2 - 4005:4710 in white list (SRC enable)Jaroslav Kysela2005-07-281-1/+1
| | | | | | | | | | | | VIA82xx driver Signed-off-by: Jaroslav Kysela <perex@suse.cz>