aboutsummaryrefslogtreecommitdiff
path: root/sound/isa
AgeCommit message (Collapse)AuthorFilesLines
2009-07-19ALSA: sound/isa: convert nested spin_lock_irqsave to spin_lockGravatar Julia Lawall 1-2/+2
If spin_lock_irqsave is called twice in a row with the same second argument, the interrupt state at the point of the second call overwrites the value saved by the first call. Indeed, the second call does not need to save the interrupt state, so it is changed to a simple spin_lock. The semantic match that finds this problem is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @@ expression lock1,lock2; expression flags; @@ *spin_lock_irqsave(lock1,flags) ... when != flags *spin_lock_irqsave(lock2,flags) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-06-29ALSA: cmi8330: fix MPU-401 PnP init copy&paste bugGravatar Ondrej Zary 1-1/+1
Fix copy&paste bug in PnP MPU-401 initialization. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-06-10Merge branch 'topic/seq-kconfig-cleanup' into for-linusGravatar Takashi Iwai 1-9/+1
* topic/seq-kconfig-cleanup: ALSA: clean up the logic for building sequencer modules
2009-06-10Merge branch 'topic/section-fix' into for-linusGravatar Takashi Iwai 2-2/+2
* topic/section-fix: ALSA: Add missing __devexit_p() markers ALSA: powermac - Replace the rest of __init* ALSA: sound/ppc: update annotations of serveral functions
2009-06-10Merge branch 'topic/sc6000' into for-linusGravatar Takashi Iwai 2-30/+111
* topic/sc6000: ALSA: sc6000: enable joystick port ALSA: sc6000: fix older card initialization ALSA: sc6000: add support for SC-6600 and SC-7000
2009-06-04ALSA: Add missing __devexit_p() markersGravatar Jean Delvare 2-2/+2
3 ISA sound drivers lack their __devexit_p() markers, which would cause build failures when the kernel is built without hotplug support. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Kyle McMartin <kyle@mcmartin.ca> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-05-29ALSA: clean up the logic for building sequencer modulesGravatar Michal Marek 1-9/+1
Instead of mangling the CONFIG_* variables in the makefiles over and over, set a few helper variables in Kconfig. Signed-off-by: Michal Marek <mmarek@suse.cz> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-05-04ALSA: sc6000: enable joystick portGravatar Krzysztof Helt 1-2/+7
Add module parameter to enable or disable joystick port (gameport) on the SC6600 and later cards. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-04-28ALSA: Add missing SNDRV_PCM_INFO_BATCH flag to some driversGravatar Takashi Iwai 1-2/+4
Added SNDRV_PCM_INFO_BATCH flag to PCM info field of some drivers that really don't give the precise pointer value. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-04-24ALSA: sc6000: fix older card initializationGravatar Krzysztof Helt 1-10/+12
The last patch to handle newer cards like SC7000 broke initialization of the SC6000. Fix this. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-04-15Merge branch 'topic/memdup_user' into for-linusGravatar Takashi Iwai 3-24/+20
* topic/memdup_user: ALSA: sound/pci: use memdup_user() ALSA: sound/usb: use memdup_user() ALSA: sound/isa: use memdup_user() ALSA: sound/core: use memdup_user()
2009-04-14ALSA: sc6000: add support for SC-6600 and SC-7000Gravatar Krzysztof Helt 2-30/+104
Add support for later cards based on CompuMedia ASC-9408 chipsets. These cards were produced by Gallant. This patch make the OSS aedsp16 driver redundant. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-04-14ALSA: sound/isa: use memdup_user()Gravatar Li Zefan 3-24/+20
Remove open-coded memdup_user(). Signed-off-by: Li Zefan <lizf@cn.fujitsu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-04-10Merge git://git.infradead.org/~dwmw2/firmware-2.6Gravatar Linus Torvalds 3-2765/+0
* git://git.infradead.org/~dwmw2/firmware-2.6: qla1280: Fix off-by-some error in firmware loading. Add README.AddingFirmware file. Basically telling people not to. firmware: Remove newly-added slicoss and sxg firmware images firmware/WHENCE: Add missing origin information for Ambassador atmsar11.fw ALSA: wavefront - Always use request_firmware() Remove fdump tool for av7110 firmware firmware: convert av7110 driver to request_firmware() Partially revert "V4L/DVB (9533): cx88: Add support for TurboSight TBS8910 DVB-S PCI card" Revert "fix modules_install via NFS" Add-add conflicts in firmware/WHENCE fixed manually
2009-04-06ALSA: wavefront - Always use request_firmware()Gravatar Takashi Iwai 3-2765/+0
Always use request_firmware() for loading yss225_registers image. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2009-04-06ALSA: opl3sa2: add ZV port controlGravatar Krzysztof Helt 1-0/+1
Add ZV port control switch. This patch is done after solution given in the ALSA bug #2872 report. The patch resolves the issue. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-24Merge branch 'topic/sscape-fix' into for-linusGravatar Takashi Iwai 3-181/+96
2009-03-24Merge branch 'topic/msnd' into for-linusGravatar Takashi Iwai 11-1/+3128
2009-03-24Merge branch 'topic/isa-misc' into for-linusGravatar Takashi Iwai 2-40/+120
2009-03-24Merge branch 'topic/cs423x-merge' into for-linusGravatar Takashi Iwai 21-257/+339
2009-03-24Merge branch 'topic/snd_card_new-err' into for-linusGravatar Takashi Iwai 25-158/+182
2009-03-17Merge branch 'fix/opl3sa2-suspend' into topic/isa-miscGravatar Takashi Iwai 1-6/+12
2009-03-17ALSA: opl3sa2 - Fix NULL dereference when suspending snd_opl3sa2Gravatar Krzysztof Helt 1-6/+12
Fix the OOPS during a opl3sa2 card suspend and resume if the driver is loaded but the card is not found. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Cc: <stable@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-03-02ALSA: opl3sa2 fix irq releasing and short name of cardGravatar Krzysztof Helt 1-2/+2
Two simple fixes: 1. Use the same pointer for the free_irq() and the request_irq() calls. 2. A short name of card is appended with '2' or '3' character depending on a detected chip. Remove the '2' character from the short name. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-23ALSA: ALS4000, slight mixer improvementsGravatar Andreas Mohr 1-38/+118
- add 8kHz / 20 kHz low-pass filter switch control - add ALS4000 Mono capture route control - add annotations to specs pages - improve ALS4000 PM saved regs selection (remove SB dummy register, add missing ones) - add some missing ALS4000 register defines - constify two variables Signed-off-by: Andreas Mohr <andi@lisas.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-17ALSA: cs4236 - Merge snd-cs4236-lib module into snd-cs4236Gravatar Takashi Iwai 2-27/+3
Since cs4232 and cs4236 drivers are merged, there is no reason to keep snd-cs4236-lib module separately. Let's merge it into the main driver as well. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-16ALSA: cs4236: cs4232 and cs4236 driver merge to solve PnP BIOS detectionGravatar Krzysztof Helt 5-106/+77
cs4232 and cs4236 driver merge to solve PnP BIOS detection. Also, the patch adds recognition if the chip is cs4236b+ or earlier part. This unifies drivers for both cs4232 and cs4236+ chips. It allows to use the PnP BIOS detection for the cs4236+ chips. Previously, only the snd-cs4232 could be detected by the PnP BIOS. The cs4232+ cards reports two separate PnP BIOS ids. The patch adds search for the second id to find out resources assigned to a control port. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-16Merge branch 'topic/snd_card_new-err' into topic/cs423x-mergeGravatar Takashi Iwai 25-158/+182
2009-02-05ALSA: isa/*: Add missing KERN_* prefix to printkGravatar Takashi Iwai 7-37/+59
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-05ALSA: gus - Add missing KERN_* prefix to printkGravatar Takashi Iwai 5-18/+43
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-05ALSA: wss - Add missing KERN_* prefix to printkGravatar Takashi Iwai 1-23/+53
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-04ALSA: msnd - Fix build error with CONFIG_PNP=nGravatar Takashi Iwai 1-2/+5
sound/isa/msnd/msnd_pinnacle.c:891: error: 'isapnp' undeclared (first use in this function) Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-04ALSA: sscape: drop redundant fields from soundscape structGravatar Krzysztof Helt 1-28/+16
The wss_base is disuised parameter for one function. It is converted to function parameter. The code_type is only set but never read. It is removed. The midi_vol is set only to 0 so it does not work as detection of change in midi volume. It is fixed. The xport variable is alias to the port[dev]. Use the port[dev] directly to increase readability. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-02-02ALSA: msnd: add module description and license for the snd-msnd-libGravatar Krzysztof Helt 1-0/+3
The missing module license generates warning during module loading. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-30ALSA: ess1688: fix OPL3 port settingGravatar Krzysztof Helt 1-7/+16
The ess1688 driver uses the same port for PCM audio (SB compatible) and OPL3 synthesis. It is not always right so allow to choose a different port for OPL3 synthesis. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-29ALSA: cmi8330: add MPU-401 supportGravatar Krzysztof Helt 2-6/+37
Add MPU-401 port support for the chip. Also, update some error messages and description. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-29ALSA: gus: update debug messagesGravatar Krzysztof Helt 1-9/+15
Convert some of them to snd_printdd() and update arguments to make them compilable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-29ALSA: sscape: update Kconfig description about SoundScape cardsGravatar Krzysztof Helt 1-2/+5
The SoundScape driver handles more cards then described. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-28ALSA: enable build of snd-msnd-* driversGravatar Takashi Iwai 1-1/+1
Added the missing msnd directory to Makefile. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-28ALSA: Turtle Beach Multisound Classic/Pinnacle driverGravatar Krzysztof Helt 10-0/+3121
This is driver for Turtle Beach Multisound cards: Classic, Fiji and Pinnacle. Tested pcm playback and recording and MIDI playback on Multisound Pinnacle. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-21ALSA: ad1816a: enable hardware timerGravatar Krzysztof Helt 2-5/+7
Enable hardware timer with 10 usec resolution. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-21ALSA: do not create OPL3 timers if there is no OPL3 irq wiredGravatar Krzysztof Helt 4-21/+4
Most cards have OPL3 FM synthetiser but they do not have OPL3 interrupt wired to a sound chip or CPU. Do not create OPL3 timers for such cards as the timers are useless witthout interrupt. This patch removes OPL3 timers for following alsa drivers: snd-ad1816a, snd-opti93x, snd-opti92x, snd-sc6000, snd-cmi8330. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-21ALSA: sscape: use common MPU401 macrosGravatar Krzysztof Helt 1-8/+4
Remove local macros which redefines the common ones. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-21ALSA: cmi8330: add OPL3 supportGravatar Krzysztof Helt 2-2/+29
Add OPL3 handling to the driver and volume control for FM synthesis. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-17ALSA: wss-lib: remove "pops" before each played soundGravatar Krzysztof Helt 1-28/+13
A WSS codec is autocalibrated each time before playing sound. Do only one calibration during codec initialization. Complete snd_wss_calibrate_mute to mute loopback volume as well. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-14ALSA: opti9xx - Fix build breakage by snd_card_create() conversionGravatar Takashi Iwai 1-0/+1
Add a missing variable declaration. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-13ALSA: sscape: fix incorrect timeout after microcode uploadGravatar Krzysztof Helt 1-12/+12
A comment states that one should wait up to 5 secs while a waiting loop waits only 5 system ticks. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-12ALSA: Return proper error code at probe in sound/isa/*Gravatar Takashi Iwai 6-64/+65
Some drivers in sound/isa/* don't handle the error code properly from snd_card_create(). This patch fixes these places. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-12ALSA: Convert to snd_card_create() in sound/isa/*Gravatar Takashi Iwai 25-100/+122
Convert from snd_card_new() to the new snd_card_create() function. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2009-01-11ALSA: wss-lib: move AD1845 frequency setting into wss-libGravatar Krzysztof Helt 2-105/+48
This is required to allow the sscape driver to autodetect installed codec. Also, do not create a timer if detected codec has no hardware timer (e.g. AD1848). Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Cc: Rene Herman Signed-off-by: Takashi Iwai <tiwai@suse.de>