summaryrefslogtreecommitdiffstats
path: root/sound/isa
Commit message (Collapse)AuthorAgeFilesLines
* [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 some memory leaksAdrian Bunk2006-03-221-0/+1
| | | | | | | | | 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] 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] opti9x - Fix compile without CONFIG_PNPTakashi Iwai2006-03-221-0/+6
| | | | | | | | Modules: Opti9xx drivers Fix compile errors without CONFIG_PNP. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] cs4236 - Fix a typoTakashi Iwai2006-03-221-1/+1
| | | | | | | | | Modules: CS4236+ driver Fixed a typo in snd_cs4236_put_master_digital(), resulting in silence right channel. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix check of enable module optionTakashi Iwai2006-03-2214-17/+39
| | | | | | | Fix the check of enable module option in probe of platform_device drivers. It shouldn't break the loop but just ignore if enable[i] is false. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ad1816a - Fix PCM trigger directionKen Arromdee2006-03-221-6/+9
| | | | | | | | | Modules: AD1816A driver Fixed the bug of capture with Shark Predator ISA resulting in: arecord: pcm_read:1196: read error: Input/output error Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] semaphore -> mutex (ISA part)Ingo Molnar2006-03-228-50/+50
| | | | | | | | | | | 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: Takashi Iwai <tiwai@suse.de>
* [ALSA] #4/4 for Zoom Video - add Zoom Video supportMark Salazar2006-03-221-3/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: ES18xx driver Forth of 4 es18xx.c patches culminating in Zoom Video support. This patch adds Zoom Video support for those chipsets that support it. Testing: This work was initially done on the source from the Debian Sarge ALSA package, then tested on an ES1879. I could not test the Zoom Video function for an ES1878 or ES1869. Patches were created against the Sarge code and then edited to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs code was test for successful compilation. No additional testing was done on the ALSA cvs version. One quirk (noted in my comments below) is that apparently the datasheet is wrong for one of the ES1879 Zoom Video 'enable' bits, because 1) if you set this bit it messes up PCM playback (speaker_test play a lower frequency) 2) even if you don't set this bit Zoom Video still works. I added a control to toggle the bit on just in case there might be a version of the ES1879 that requires it, but I expect noone will need it. Signed-off-by: Mark Salazar <markTheCoder@justmyself.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] #3/4 for Zoom Video - change Hardware Volume interrupt handlingMark Salazar2006-03-221-8/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: ES18xx driver Third of 4 es18xx.c patches culminating in Zoom Video support. This patch changes the Hardware Volume support to reflect the fact that not all of the supported chipsets have seperate registers dedicated to the Hardware Volume inputs. Although all the chipsets can generate an HWV interrupt whenever a Hardware Volume input is received only those with seperate HWV registers can split the HWV registers from the Master volume registers. Testing: This work was initially done on the source from the Debian Sarge ALSA package, then tested on an ES1879 and an ES1878 machine. Patches were created against the Sarge code and then edited to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs code was test for successful compilation. No additional testing was done on the ALSA cvs version. Signed-off-by: Mark Salazar <markTheCoder@justmyself.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] #2/4 for Zoom Video - resolve number of record sourcesMark Salazar2006-03-221-9/+90
| | | | | | | | | | | | | | | | | | | | | | | Modules: ES18xx driver Second of 4 es18xx.c patches culminating in Zoom Video support. This patch changes the 'record source' mux routines to reflect the fact that not all of the supported chipsets have 8 possible inputs. Some have 4 and some have 5. Testing: This work was initially done on the source from the Debian Sarge ALSA package, then tested on an ES1879 and an ES1878 machine. Patches were created against the Sarge code and then edited to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs code was test for successful compilation. No additional testing was done on the ALSA cvs version. Signed-off-by: Mark Salazar <markTheCoder@justmyself.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] #1/4 for Zoom Video - resolve common vs chipset specific mixer controlsMark Salazar2006-03-221-11/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: ES18xx driver First of 4 es18xx.c patches culminating in Zoom Video support. While adding support for Zoom Video to the es18xx driver I found some of the mixer controls were wrong. Since you guys went to the trouble of supplying the datasheets for the supported chipsets I did a review of all of them and tried to get es18xx.c to accurately reflect the proper mixer controls for each chipset. If the datasheets are wrong then so are my patches. This first patch moves some controls from the common-to-all-chipsets array 'snd_es18xx_base_controls' to a chipset-specific array and adds code to manage that new array. Also while testing on my ES1878 test machine I discovered it needed a couple of udelays in the identify function so those are in this patch as well. Testing: This work was initially done on the source from the Debian Sarge ALSA package, then tested on an ES1879 and an ES1878 machine. Patches were created against the Sarge code and then edited to apply correctly to the ALSA cvs code. Lastly the patched ALSA cvs code was test for successful compilation. No additional testing was done on the ALSA cvs version. Signed-off-by: Mark Salazar <markTheCoder@justmyself.net> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [PATCH] snd-cs4236 typo fixRene Herman2006-02-241-1/+1
| | | | | | | | | | I noticed on 2.6.16-rc4 that my MPU-401 wasn't functional, due to a simple copy & paste error in sound/isa/cs423x/cs4236.c. Acked-by: Takashi Iwai <tiwai@suse.de> Cc: Jaroslav Kysela <perex@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [ALSA] Fix adding second dma channelAlexey Dobriyan2006-02-012-2/+2
| | | | | | | | | Modules: OPL3SA2 driver,GUS Classic driver dma2 is a global array. sprintf below suggests there was a typo. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] cs4236 - Add PnP ids for Netfinity 3000Lukasz Stemach2006-02-011-0/+2
| | | | | | | | | | | | | | Modules: CS4236+ driver PnP ids for Netfinity 3000 builtin soundcard. This one works for me. This patch was submitted through kernel Bugzilla #4214. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] opti93x - Fix a compile warningTakashi Iwai2006-02-011-1/+1
| | | | | | | | Modules: Opti9xx drivers Fix a gcc-4.1 compile warning regarding uninitialized variables. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] wavefront - Fix a compile warningTakashi Iwai2006-02-011-1/+1
| | | | | | | | Modules: Wavefront drivers Fix a gcc-4.1 compile warning regarding uninitialized variables. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] cs4232/cs4236 - moved CS423X_DRIVER define outside CONFIG_PNPJaroslav Kysela2006-01-221-2/+2
| | | | | | Modules: CS4236+ driver Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] sb16 - Fix duplicated PnP entryTakashi Iwai2006-01-221-2/+2
| | | | | | | | Modules: SB16/AWE driver Fix the duplicated PnP entry between sb16 and sbawe drivers. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] opl3sa2 - Fix conflict of driver name on sysfsTakashi Iwai2006-01-221-2/+2
| | | | | | | | Modules: OPL3SA2 driver Fix the conflict of driver name 'opl3sa2' on sysfs with OSS driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix compilation without CONFIG_PNPTakashi Iwai2006-01-226-4/+34
| | | | | | Fix compilation of some ISA drivers without CONFIG_PNP. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [PATCH] remove gcc-2 checksAndrew Morton2006-01-081-7/+0
| | | | | | | | | | | | | Remove various things which were checking for gcc-1.x and gcc-2.x compilers. From: Adrian Bunk <bunk@stusta.de> Some documentation updates and removes some code paths for gcc < 3.2. Acked-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [ALSA] seq: set client name in snd_seq_create_kernel_client()Clemens Ladisch2006-01-031-17/+3
| | | | | | | | | All users of snd_seq_create_kernel_client() have to set the client name anyway, so we can just pass the name as parameter. This relieves us from having to muck around with a struct snd_seq_client_info in these cases. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] seq: remove struct snd_seq_client_callbackClemens Ladisch2006-01-031-5/+1
| | | | | | | The fields of struct snd_seq_client_callback either aren't used or are always set to the same value, so we can get rid of it altogether. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] unregister platform devicesClemens Ladisch2006-01-0317-95/+348
| | | | | | | Call platform_device_unregister() for all platform devices that we've registered. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] ad1848 - Fix compilation without CONFIG_PMTakashi Iwai2006-01-031-0/+2
| | | | | | | | Modules: AD1848 driver Fix compilation without CONFIG_PM. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix a compile warningTakashi Iwai2006-01-031-1/+1
| | | | | | | | Modules: CS4231 driver Fix a compile warning (unused variable). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add CS4232 PnP BIOS supportTakashi Iwai2006-01-032-105/+220
| | | | | | | | Modules: CS4231 driver,CS4236+ driver Add CS4232 PnP BIOS support. Still experimental. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix resume of cs4231Takashi Iwai2006-01-031-1/+1
| | | | | | | | Modules: CS4231 driver Use mce_down() again in the resume callback. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add error messagesTakashi Iwai2006-01-031-7/+20
| | | | | | Add error messages in the critial error path to be more verbose. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Merge ad1816a-lib module to ad1816aTakashi Iwai2006-01-032-40/+12
| | | | | | | | | Modules: AD1816A driver Merge ad1816a-lib module to ad1816. There is no more reason to split. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove SND_GENERIC_DRIVER from isa/KconfigTakashi Iwai2006-01-031-13/+0
| | | | | | | | Modules: ISA Remove the obsolete SND_GENERIC_DRIVER from isa/Kconfig. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] wavefront - Use platform_deviceTakashi Iwai2006-01-031-125/+142
| | | | | | | | Modules: Wavefront drivers Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] opti9xx - Use platform_deviceTakashi Iwai2006-01-031-298/+209
| | | | | | | | Modules: Opti9xx drivers Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] gus - Use platform_deviceTakashi Iwai2006-01-034-274/+367
| | | | | | Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] es1688 - Use platform_deviceTakashi Iwai2006-01-031-43/+69
| | | | | | | | Modules: ES1688 driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sscape - Use platform_deviceTakashi Iwai2006-01-031-170/+112
| | | | | | | | Modules: Sound Scape driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sgalaxy - Use platform_device, add PM supportTakashi Iwai2006-01-031-17/+76
| | | | | | | | | Modules: Sound Galaxy driver Rewrite the probe/remove with platform_device. Also, add the PM support. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] es18xx - Use platform_deviceTakashi Iwai2006-01-031-143/+185
| | | | | | | | Modules: ES18xx driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] opl3sa2 - Use platform_deviceTakashi Iwai2006-01-031-200/+228
| | | | | | | | Modules: OPL3SA2 driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] cmi8330 - Use platform_device, add PM supportTakashi Iwai2006-01-031-78/+163
| | | | | | | | | Modules: CMI8330 driver Rewrite the probe/remove with platform_device. Also, add the PM support. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ad1816a - Clean up PnP codeTakashi Iwai2006-01-031-10/+10
| | | | | | | | Modules: AD1816A driver Clean up PnP code of ad1816a driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] dt019x - Add PM supportTakashi Iwai2006-01-031-10/+41
| | | | | | | | Modules: DT019x driver Add PM support to dt019x driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] azt2320 - Add PM supportTakashi Iwai2006-01-031-9/+37
| | | | | | | | Modules: AZT2320 driver Add PM support to azt2320 driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] als100 - Add PM supportTakashi Iwai2006-01-031-10/+41
| | | | | | | | Modules: ALS100 driver Add PM support to als100 driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] cs4236 - Use platform_deviceTakashi Iwai2006-01-031-93/+176
| | | | | | | | Modules: CS4236+ driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] cs4231 - Use platform_deviceTakashi Iwai2006-01-031-19/+77
| | | | | | | | Modules: CS4231 driver Rewrite the probe/remove with platform_device. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] cs4231 - Fix PM supportTakashi Iwai2006-01-031-19/+1
| | | | | | | | Modules: CS4231 driver Fix PM support. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ad1848 - Use platform_device, add PMTakashi Iwai2006-01-031-16/+73
| | | | | | | | | Modules: AD1848 driver Rewrite the probe/remove with platform_device. Add the PM support, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
OpenPOWER on IntegriCloud