aboutsummaryrefslogtreecommitdiffstats
path: root/sound (follow)
AgeCommit message (Collapse)AuthorFilesLines
2006-06-22[ALSA] Change an arugment of snd_mpu401_uart_new() to bit flagsTakashi Iwai17-56/+110
Change the 5th argument of snd_mpu401_uart_new() to bit flags instead of a boolean. The argument takes bits that consist of MPU401_INFO_XXX flags. The callers that used the value 1 there are replaced with MPU401_INFO_INTEGRATED. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] hdsp - Fix compilation with hdsp driver built in kernelTakashi Iwai1-1/+1
Fixed the compilation with hdsp driver built in kernel. The traditional hwdep loader is used in this case. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] Single variables for cs5535audioJaya Kumar1-12/+9
As per Takashi's feedback, this is a cleanup to make cs5535audio be single device per system. The diff is against 2.6.17-rc4 with Takashi's patch adding the module_params for index, id and enable. Signed-off-by: Jaya Kumar <jayakumar.alsa@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] mpu401_uart - Fix coding style and code clean upTakashi Iwai1-42/+66
- fold lines and fix spaces to follow the standard style - added some comments - moved EXPORT_SYMBOL() near the definition - some code clean up Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] usbaudio - Fix a typoTakashi Iwai1-1/+1
Fix a typo introduced by the last fix. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] Remove ENTER_UART from au88x0 initAlan Horstmann1-3/+0
Remove an unnecessary ENTER_UART instruction during au88x0 init as it makes the first/subsequent midi open to fail. Signed-off-by: Alan Horstmann <gineera@aspect135.co.uk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] usb-audio: add workaround for CSR Bluetooth Headphones (Saitek A-250)Clemens Ladisch1-3/+4
Some devices don't have the required class-specific endpoint descriptors. Instead of making this case an error, this patch makes the driver guess the endpoint attributes. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2006-06-22[ALSA] hda-codec - Fix init verbs for ALC260 hp modelTakashi Iwai1-1/+3
Use the basic init verbs for ALC260 instead of hp init verbs since hp init verbs seem incomplete and not working on some machines. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] Remove zero-initialization of static variablesTakashi Iwai29-63/+46
Removed zero-initializations of static variables. A tiny optimization. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] Fix pcm-draining of capture stream in PCM middle layerTakashi Iwai1-2/+0
Fix the draining of PCM capture stream in the PCM middle layer. snd_pcm_drain() ignored capture streams, but it should change the state to SNDRV_PCM_DRAINING. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] hda - Add support for the ATI RS600 HDMI audio deviceFelix Kuehling4-1/+185
Add support for the ATI RS600 HDMI audio device. It has a one-stream pure digital stereo codec that isn't handled by the generic codec support. Signed-off-by: Felix Kuehling <fkuehlin@ati.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] azt3328.c: use kernel coding styleAndreas Mohr1-47/+23
Scope braces were not done the One True Kernel Way. Signed-off-by: Andreas Mohr <andi@lisas.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] azt3328.c: add 3D sound mixer switch/rename controlsAndreas Mohr2-18/+39
- add 3D sound pre-3D/post-3D switch, as seen in standard AC-97 - rename controls to shorter and more accurate strings Signed-off-by: Andreas Mohr <andi@lisas.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] azt3328.c: add suspend/resume supportAndreas Mohr2-6/+133
- add suspend/resume handlers - fix problem (private_data members not set) Playing a file while suspending will resume correctly with this patch, so I assume the hardware to get fully correctly reinitialized with this patch. Signed-off-by: Andreas Mohr <andi@lisas.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] Fix rwlock around snd_iprintf() in sound coreTakashi Iwai2-26/+32
Fixed rwlock around snd_iprintf() in sound core part. Replaced with mutex. Also, make mutex and flags static variables with addition of snd_card_locked() function (just for sound.c). Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] hda-codec - Fix handling of capture controls on ALC882 3/6-stack modelsTakashi Iwai1-19/+0
Fixed the handling of capture controls on ALC882 3/6-stack models. Now the driver checks the availability of NID 07h. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] hda-codec - Add support for Sony Vaio VGN-S3HPTakashi Iwai1-0/+2
Added the missing support for Sony Vaio VGN-S3HP with ALC260 codec. The patch taken from ALSA bug#2101. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] rme96 - Fix OSS full-duplexTakashi Iwai1-9/+23
Fixed a bug in rme96 driver that the full-duplex on OSS emulation doesn't work due to the invalid period size parameter. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] hda-codec - Add support for Apple Mac Mini (early 2006)Sam Revitch1-1/+67
Add support for some audio quirks of the Apple Mac Mini (early 2006) Signed-off-by: Sam Revitch <samr7@cs.washington.edu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] add support for SB Live! 24-Bit External remote controlRaimonds Cicans1-28/+40
This patch rewrites the remote control code to use a table for the peculiarities of the various SB models, and adds support for a third model. Signed-off-by: Raimonds Cicans <ray@vardes.lv> Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2006-06-22[ALSA] cmipci - Disable integrated mpu401 as defaultTakashi Iwai1-1/+1
Enable the support of mpu401 PCI port only when mpu_port=1 module option is given, i.e. disabled as default. It turned out that the check of integrated midi port isn't perfect and caused hang-ups on some boards. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] au88x0 - Init before create componentsAlan Horstmann2-5/+10
Change the order in vortex_probe to set the card details before creating the components, meaning for example that card->shortname is available when registering the midi port. I have also added extra to card->shortname, and a line to overwrite the midi name following snd_mpu401_uart_new. Signed-off-by: Alan Horstmann <gineera@aspect135.co.uk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] hda: add sigmatel 9227/9228/9229 idsMatt Porter1-0/+6
Adds support for the 9227/9228/9229 sigmatel hda codecs. Signed-off-by: Matt Porter <mporter@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] hda-codec - Fix mute switch on VAIO laptops with STAC7661Takashi Iwai1-4/+4
Fixed the master mute switch on VAIO laptops with STAC7661 codec chip. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] cs5535audio - Add missing module_param*() and MODULE_PARM_DESC()Takashi Iwai1-0/+7
Added missing module_param*() and MODULE_PARM_DESC() for cs5535audio driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] Add a workaround for ASUS A6KMTakashi Iwai1-1/+4
Added a workaround for ASUS A6KM board that requires EAPD rather than SPDIF-in. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] hda-codec - Add support for LG S1 laptopTakashi Iwai1-0/+1
Added the model entry for LG S1 laptop. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] rawmidi: add get_port_info callback for sequencer information flagsClemens Ladisch2-70/+133
Add a get_port_info callback to the snd_rawmidi_global_ops structure to allow the USB MIDI driver to supply information flags for the sequencer ports created by seq_midi. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2006-06-22[ALSA] add more sequencer port type information bitsClemens Ladisch9-9/+27
Add four new information flags SNDRV_SEQ_PORT_TYPE_HARDWARE, _SOFTWARE, _SYNTHESIZER, _PORT for sequencer ports. This makes it easier for apps like Rosegarden to make policy decisions based on the port type. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2006-06-22[ALSA] fix port type bitsClemens Ladisch3-5/+3
Fix the port information about non-MIDI messages that had wrong values for some OPL3 and EmuX ports. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2006-06-22[ALSA] fix a wrong lockClemens Ladisch1-1/+1
fix a typo in the info locking code Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
2006-06-22[ALSA] Fix compile warning in timer.cTakashi Iwai1-1/+0
Fix a compile warning in timer.c due to unused variables. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] Fix mmap_count with O_APPEND opened streamsTakashi Iwai3-19/+20
Move mmap_count to snd_pcm_substream instead of runtime struct so that multiplly opened substreams via O_APPEND can be handled correctly. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] Add O_APPEND flag support to PCMTakashi Iwai6-42/+95
Added O_APPEND flag support to PCM to enable shared substreams among multiple processes. This mechanism is used by dmix and dsnoop plugins. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] Insert might_sleep() in snd_iprintf()Takashi Iwai1-0/+1
Inserted might_sleep() in snd_iprintf() for sanity check. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] Remove spinlocks around proc printsTakashi Iwai2-8/+0
Don't lock during showing proc read. snd_iprintf() might sleep. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] Remove unneeded read/write_size fields in proc text opsTakashi Iwai59-123/+80
Remove unneeded read/write_size fields in proc text ops. snd_info_set_text_ops() is fixed, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] Make buffer size of proc text interface variableTakashi Iwai1-70/+79
Make the read/write buffer size of proc text interface variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] Clean up ugly hacks in pcm_lib.cTakashi Iwai1-44/+26
Clean up ugly hacks for sync with alsa-lib code in pcm_lib.c. Also, optimize snd_pcm_hw_params_choose() with a loop. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] Move OSS-specific hw_params helper to snd-pcm-oss moduleTakashi Iwai6-626/+597
Move EXPORT_SYMBOL()s to places adjacent to functions/variables. Also move OSS-specific hw_params helper functions to pcm_oss.c. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] hda-codec - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai1-19/+22
Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] i2c - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai1-6/+11
Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] vx - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai2-16/+17
Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] emux - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai3-11/+10
Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] trident - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai2-10/+13
Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] emu10k1 - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai4-13/+16
Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] opl4 - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai1-4/+8
Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] opl3 - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai2-9/+14
Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] ac97 - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai2-22/+28
Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
2006-06-22[ALSA] Clean up EXPORT_SYMBOL()s in snd-seq moduleTakashi Iwai5-22/+20
Move EXPORT_SYMBOL()s to places adjacent to functions/variables. Signed-off-by: Takashi Iwai <tiwai@suse.de>