summaryrefslogtreecommitdiffstats
path: root/sound
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] I2C: Drop unneeded i2c-dev.h includesJean Delvare2006-03-235-6/+0
| | | | | | | | | | | Several media/video and sound drivers include i2c-dev.h while they don't need it at all. Clean it up. This header file is really only needed by i2c-dev.c and compat_ioctl.c, other drivers should never need it. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* [PATCH] oss: semaphore to mutex conversionIngo Molnar2006-03-236-53/+53
| | | | | | | | | | | | | | Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Extracted for OSS/Free changes from Ingo's original patches. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] sem2mutex: sound/oss/Ingo Molnar2006-03-2327-410/+449
| | | | | | | | | | | Semaphore to mutex conversion. The conversion was generated via scripts, and the result was validated automatically via a script as well. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Intruduce DMA_28BIT_MASKTobias Klauser2006-03-227-17/+24
| | | | | | | | | This patch introduces the DMA_28BIT_MASK constant in dma-mapping.h ALSA drivers using this mask are changed to use the new constant. Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch> Acked-by: Takashi Iwai <tiwai@suse.de> Acked-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] hda-codec - Add support for ASUS P4GPL-XTakashi Iwai2006-03-221-0/+1
| | | | | | | | Modules: HDA Codec driver Added the support ASUS P4GPL-X with ALC880 codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add support for HP nx9420 laptopTakashi Iwai2006-03-221-1/+3
| | | | | | | | Modules: HDA Codec driver Added the support for HP nx9420 (AngelFire) laptop with AD1981HD codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix memory leaks in error path of control.cTakashi Iwai2006-03-221-7/+12
| | | | | | | | Modules: Control Midlevel Fix memory leaks in error path of control.c (only with CONFIG_SND_DEBUG=y). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] AMD Au1x00: AC'97 controller is memory mappedSergei Shtylyov2006-03-221-3/+4
| | | | | | | | | | | Modules: MIPS AU1x00 driver AMD Au1x00 ALSA driver erroneously calls request_region() for AC'97 controller registers -- the controller is actually memory mapped at addresses 0x10000000 thru 0x100FFFFF. Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] AMD Au1x00: fix DMA init/cleanupSergei Shtylyov2006-03-221-13/+20
| | | | | | | | | | | Modules: MIPS AU1x00 driver AMD Au1x00 ALSA driver causes kernel oops in au1000_init() by trying to set DMA channel to -1 in yet unallocated audio streams. Here's the patch that staightens up DMA init/cleanup code. Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix generic auto-configuratorTakashi Iwai2006-03-221-36/+92
| | | | | | | | | Modules: HDA generic driver Fixed the generic auto-configurator to check speaker pins in addition. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix BIOS auto-configurationTakashi Iwai2006-03-225-75/+160
| | | | | | | | | | | | | | | Modules: HDA Codec driver,HDA generic driver - Fix autoconfig speaker/hp detection Now it allows multiple speaker pins (e.g. Dell laptops have such config) - Use speaker or hp pins if no line-outs are available This fixes the silence output on recent Dell laptops with STAC9200 (ALSA bug#1843) - Fix analog/realtek/sigmatel autoconfig parser Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ice1712 - typo fixes for dxr_enable module optionAlan Horstmann2006-03-221-4/+4
| | | | | | Modules: ICE1712 driver Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] AMD Au1x00: make driver build after cleanupSergei Shtylylov2006-03-221-0/+2
| | | | | | | | | | | | | | | Modules: MIPS AU1x00 driver AMD Au1x00 ALSA driver doesn't build after the recent code cleanup: sound/mips/au1x00.c: In function 'au1000_setup_dma_link': sound/mips/au1x00.c:173: error: 'pointer' undeclared (first use in this function) sound/mips/au1x00.c:173: error: (Each undeclared identifier is reported only once sound/mips/au1x00.c:173: error: for each function it appears in.) sound/mips/au1x00.c: In function 'snd_au1000_hw_params': sound/mips/au1x00.c:339: warning: implicit declaration of function 'snd_mask_min' Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ice1712 - Fix wrong value types for enum itemsTakashi Iwai2006-03-221-7/+7
| | | | | | | | | Modules: ICE1712 driver Fix the access to wrong type values for enum items in aureon.c (ALSA bug#1527). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] fix resource leak in usbmixerJesper Juhl2006-03-221-0/+1
| | | | | | | | | Modules: USB generic driver We may leak 'namelist' in sound/usb/usbmixer.c::parse_audio_selector_unit() Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix gus_pcm dereference before NULLEugene Teo2006-03-221-2/+0
| | | | | | | | | | | | Modules: GUS Library The NULL check of substream is simply superfluous. It is guaranteed to receive non-NULL substream. Thanks Takashi. Coverity bug #861 Signed-off-by: Eugene Teo <eugene.teo@eugeneteo.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix seq_clientmgr dereferences before NULL checkEugene Teo2006-03-221-2/+1
| | | | | | | | | | Modules: ALSA sequencer cptr->pool must be non-NULL there, so just the if (cptr->pool) is superfluous. Thanks Takashi. Signed-off-by: Eugene Teo <eugene.teo@eugeneteo.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix for Samsung R65 and ASUS A6JTakashi Iwai2006-03-221-1/+115
| | | | | | | | | Modules: Documentation,HDA Codec driver Added a new model 'laptop-eapd' to AD1986A codec for Samsung R65 and ASUS A6J laptops. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add support for VAIO FE550G and SZ110Takashi Iwai2006-03-221-0/+161
| | | | | | | | | Modules: Documentation,HDA Codec driver Add support for VAIO FE550G and SZ110 laptops with Sigmatel codec (7661). The new model 'vaio' is added. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] usb-audio: add Maya44 mixer control namesClemens Ladisch2006-03-221-0/+20
| | | | | | | | Modules: USB generic driver Add mixer control names for the AudioTrak Maya44 USB. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: add Casio PL-40R supportClemens Ladisch2006-03-221-0/+9
| | | | | | | | Modules: USB generic driver Add a quirk entry for the Casio PL-40R. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] hda-codec - Add model entry for FIC P4M-915GD1Takashi Iwai2006-03-221-0/+1
| | | | | | | | Modules: HDA Codec driver Add model entry for FIC P4M-915GD1 with ALC880 codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ac97 - Clean up obsolete workaroundsTakashi Iwai2006-03-221-8/+0
| | | | | | | | Modules: AC97 Codec Clean up obsolete workarounds provided only for nm256. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix NM256 hard lock upFlorian Schlichting2006-03-221-24/+96
| | | | | | | | | | Modules: NM256 driver Treat the nm256 mixer as a write-only device so as to avoid hangs on initialisation. Signed-off-by: Florian Schlichting <Florian.Schlichting@gmx.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ac97 - Allow drivers to set static volume resolution tableTakashi Iwai2006-03-221-0/+1
| | | | | | | | | Modules: AC97 Codec Add the pointer to a static volume resolution table to ac97 template, so that the drivers can define the volume resolution, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] usb-audio: add MDP-5/EZ-J24 supportClemens Ladisch2006-03-221-0/+2
| | | | | | | | Modules: USB generic driver Add support for the Yamaha MDP-5 and EZ-J24. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] Fixes audiophile usb analog capture with the new device_setup parameterThibault LE MEUR2006-03-221-1/+51
| | | | | | | | | | | | Modules: Documentation,USB generic driver The patch adds the 'device_setup' module parameter and a specific quirk to correctly initialize the audiophile usb device: this fixes the distorted sound bug on the Analog capture port. Backward compatibility is achieved by simply omitting the new parameter. Signed-off-by: Thibault LE MEUR <Thibault.LeMeur@supelec.fr> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound/pci/ice1712/delta.c: make 2 functions staticAdrian Bunk2006-03-221-2/+2
| | | | | | | | | Modules: ICE1712 driver This patch makes two needlessly global functions static. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] fix some memory leaksAdrian Bunk2006-03-223-3/+9
| | | | | | | | | Modules: Generic drivers,ES18xx driver,CS46xx driver This patch fixes two memory leaks spotted by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] usb-audio: add error message about missing split iso supportClemens Ladisch2006-03-221-0/+4
| | | | | | | | | Modules: USB generic driver Add an error message for -ENOSYS for situations when split iso support is needed but not enabled. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] hda-codec - Fix Aopen i915GMm-HFS moboTakashi Iwai2006-03-221-0/+2
| | | | | | | | Modules: HDA Codec driver Add a model entry for Aopen i915GMm-HFS mobo with ALC880 codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound/pci/rme9652/hdspm.c: fix off-by-one errorsAdrian Bunk2006-03-221-2/+2
| | | | | | | | | Modules: RME9652 driver This patch fixes off-by-one errors found by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound/core/: fix 3 off-by-one errorsAdrian Bunk2006-03-222-3/+3
| | | | | | | | | Modules: ALSA Core This patch fixes three off-by-one errors found by the Coverity checker. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] make control.c suspend awareGiuliano Pochini2006-03-222-11/+42
| | | | | | | | | | Modules: Control Midlevel This patch prevents user-space apps from accessing the hardware via control interface while the soundcard is suspended. Signed-off-by: Giuliano Pochini <pochini@shiny.it> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix support of laptops with AD1986A codecTakashi Iwai2006-03-221-0/+131
| | | | | | | | | | | | Modules: Documentation,HDA Codec driver Fix the support of laptops with AD1986A HD-audio codec. Added new models '3stack' and 'laptop'. Currently, fixed for FSC V2060 and Samsung M50. Also fixed the description of missing models in ALSA-Configuration.txt. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] bt87x: add more DVB card IDsClemens Ladisch2006-03-221-0/+3
| | | | | | | | | Modules: BT87x driver Add more PCI subsystem IDs of DVB cards to the blacklist of cards the driver is to ignore. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: change Casio quirk product nameClemens Ladisch2006-03-221-1/+2
| | | | | | | | | Modules: USB generic driver Use a generic name for USB device 0x07cf:0x6802 because this ID is used by several devices without a product ID. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: show USB error descriptionsClemens Ladisch2006-03-221-4/+35
| | | | | | | | | Modules: USB generic driver When usb_submit_urb() fails, show an error description instead of just the error code. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] usb-audio: add Casio AP-80R supportClemens Ladisch2006-03-221-0/+11
| | | | | | | | Modules: USB generic driver Add a quirk for the Casio AP-80R. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] Add default entry for CTL Travel Master U553WTakashi Iwai2006-03-221-0/+2
| | | | | | | | | Modules: HDA Codec driver Added the default entry of ALC880 configuration table for CTL Travel Master U553W. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix use after free in opl3_seq and opl3_ossDave Jones2006-03-222-8/+16
| | | | | | | | | | | | | Modules: OPL3 Don't read from free'd memory. Also make use of the return value, and don't register the device if something went wrong creating the port. Coverity #954, #955 Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ad1848 double freeDave Jones2006-03-221-3/+1
| | | | | | | | | | | Modules: AD1848 driver Same again, snd_ctl_add() already kfree's on error. Coverity #956 Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound/isa/sb/sb_mixer.c double kfreeDave Jones2006-03-221-3/+1
| | | | | | | | | | | Modules: SB drivers snd_ctl_add() already does the free on error. Coverity bug #957 Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] emu10k1_synth use after freeDave Jones2006-03-221-1/+0
| | | | | | | | | | | Modules: EMU10K1/EMU10K2 driver Thou shalt not dereference freed memory. Coverity bug #958 Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] fix usbmixer double kfreeDave Jones2006-03-221-1/+0
| | | | | | | | | | | | Modules: USB generic driver snd_ctl_add() kfree's the kcontrol already if we fail there, so this driver is currently doing a double kfree. Coverity bug #959 Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] emu10k1 - Add the entry for Audigy4 SB0400Takashi Iwai2006-03-221-0/+8
| | | | | | | | Modules: EMU10K1/EMU10K2 driver Added the missing card entry for Audigy4 SB0400 model. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] vx - Fix memory leak on error pathAlexey Dobriyan2006-03-221-1/+5
| | | | | | | | | | Modules: Digigram VX core Noticed by Eric Sesterhenn on kernel-janitors@ Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] CS5535: shorter delays when accessing AC'97 codec registersDavid Vrabel2006-03-221-3/+3
| | | | | | | | | | | | | Modules: CS5535 driver The 10 ms sleeps while waiting for AC'97 codec register reads/writes to complete are excessive given the maxmium time is one AC'97 frame (~21 us). With AC'97 codecs with integrated touchscreens (like the UCB1400) this improves the interactive performance of the touchscreen. Signed-off-by: David Vrabel <dvrabel@arcom.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add lg model for LG laptopTakashi Iwai2006-03-221-28/+192
| | | | | | | | | Modules: Documentation,HDA Codec driver Added a new model 'lg' for LG laptop (m1 express dual) with ALC880 codec. Also clean up the initialization/unsol_event hooks in patch_realtek.c. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] return ENODEV for disconnected devicesClemens Ladisch2006-03-221-0/+42
| | | | | | | | | | Modules: ALSA Core Add dummy functions that return -ENODEV for the struct file_operations of a disconnected device. Without such functions, userspace would get ENOTTY. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
OpenPOWER on IntegriCloud