summaryrefslogtreecommitdiffstats
path: root/sound
Commit message (Collapse)AuthorAgeFilesLines
* [ALSA] Fix mmap_count with O_APPEND opened streamsTakashi Iwai2006-06-223-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>
* [ALSA] Add O_APPEND flag support to PCMTakashi Iwai2006-06-226-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>
* [ALSA] Insert might_sleep() in snd_iprintf()Takashi Iwai2006-06-221-0/+1
| | | | | | Inserted might_sleep() in snd_iprintf() for sanity check. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove spinlocks around proc printsTakashi Iwai2006-06-222-8/+0
| | | | | | Don't lock during showing proc read. snd_iprintf() might sleep. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove unneeded read/write_size fields in proc text opsTakashi Iwai2006-06-2259-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>
* [ALSA] Make buffer size of proc text interface variableTakashi Iwai2006-06-221-70/+79
| | | | | | Make the read/write buffer size of proc text interface variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Clean up ugly hacks in pcm_lib.cTakashi Iwai2006-06-221-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>
* [ALSA] Move OSS-specific hw_params helper to snd-pcm-oss moduleTakashi Iwai2006-06-226-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>
* [ALSA] hda-codec - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai2006-06-221-19/+22
| | | | | | Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] i2c - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai2006-06-221-6/+11
| | | | | | Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] vx - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai2006-06-222-16/+17
| | | | | | Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] emux - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai2006-06-223-11/+10
| | | | | | Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] trident - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai2006-06-222-10/+13
| | | | | | Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] emu10k1 - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai2006-06-224-13/+16
| | | | | | Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] opl4 - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai2006-06-221-4/+8
| | | | | | Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] opl3 - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai2006-06-222-9/+14
| | | | | | Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ac97 - Move EXPORT_SYMBOL() to adjacent to each functionTakashi Iwai2006-06-222-22/+28
| | | | | | Move EXPORT_SYMBOL() to adjacent to each exported function/variable. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Clean up EXPORT_SYMBOL()s in snd-seq moduleTakashi Iwai2006-06-225-22/+20
| | | | | | Move EXPORT_SYMBOL()s to places adjacent to functions/variables. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Clean up EXPORT_SYMBOL()s in snd moduleTakashi Iwai2006-06-2210-88/+113
| | | | | | Move EXPORT_SYMBOL()s to places adjacent to functions/variables. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] PM support for cs5535audioJaya Kumar2006-06-226-8/+191
| | | | | | | | | | Appended is my patch adding PM support to the cs5535audio driver. I also added the ac97 quirk but it's not yet confirmed which boards need to be in the quirk list. The patch also includes some Kconfig and misc cleanup. Signed-off-by: Jaya Kumar <jayakumar.alsa@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add support for Sony Vaio VGN-A790 laptopKenneth Crudup2006-06-221-0/+2
| | | | | | Added the model entry for Sony Vaio VGN-A790 laptop with ALC260 codec. From: Kenneth Crudup <kenny@panix.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ice1712 - Provides specified midi port names instead of defaultsAlan Horstmann2006-06-223-2/+19
| | | | | | | | | Patch provides for the ice1712 card driver to overwrite the midi port name string given by default in mpu401_uart, with one specified in snd_ice1712_card_info. Signed-off-by: Alan Horstmann <gineera@aspect135.co.uk> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Change seq_midi.c so client name is card, rather than port, specificAlan Horstmann2006-06-221-2/+2
| | | | | | | | | Change snd_seq_midisynth_register_port() in seq_midi.c so that if a new client is created, the client name string is based on card->shortname not (port-specific) info->name. Signed-off-by: Alan Horstmann <gineera@aspect135.co.uk> Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* [ALSA] hda-codec - Fix a typoTakashi Iwai2006-06-221-1/+1
| | | | | | Fixed a typo of 'pci_subsystem' in the last changeset. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Add Thinkpad X60/T60/Z60 supportTakashi Iwai2006-06-221-1/+43
| | | | | | Added the support for Thinkpad X60/T60/Z60 laptops with AD1981HD codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] unregister platform device again if probe was unsuccessfulRene Herman2006-06-227-15/+43
| | | | | | | | | This second one unregisters the platform device again when the probe is unsuccesful for sound/drivers, sound/arm/sa11xx-uda1341.c and sound/ppc/powermac.c. This gets them all. Signed-off-by: Rene Herman <rene.herman@keyaccess.nl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] vxpocket - Fix a typoTakashi Iwai2006-06-221-1/+1
| | | | | | Fix a typo of return value from vxpocket_config(). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] AC97: Correct Mic Boost label.James Courtier-Dutton2006-06-222-3/+3
| | | | Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] ca0106: Fixes MSI K8N's SB Live 24 bit, no sound from line-in.James Courtier-Dutton2006-06-222-3/+35
| | | | | | Fixed bug#1331 Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] Add p17v.h file.James Courtier-Dutton2006-06-221-0/+111
| | | | Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] emu10k1: Add support for Audigy4 (not Pro)James Courtier-Dutton2006-06-225-21/+105
| | | | Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] ca0106: Add analog capture controls.James Courtier-Dutton2006-06-223-14/+186
| | | | Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [SPARC]: Kill __irq_itoa().David S. Miller2006-06-203-13/+12
| | | | | | | | | | | | | | | | | | This ugly hack was long overdue to die. It was a way to print out Sparc interrupts in a more freindly format, since IRQ numbers were arbitrary opaque 32-bit integers which vectored into PIL levels. These 32-bit integers were not necessarily in the 0-->NR_IRQS range, but the PILs they vectored to were. The idea now is that we will increase NR_IRQS a little bit and use a virtual<-->real IRQ number mapping scheme similar to PowerPC. That makes this IRQ printing hack irrelevant, and furthermore only a handful of drivers actually used __irq_itoa() making it even less useful. Signed-off-by: David S. Miller <davem@davemloft.net>
* [MIPS] Correct HAL2 Kconfig descriptionKumba2006-06-191-2/+2
| | | | | | | | | The current HAL2 Kconfig description indicates it is only used on SGI Indy systems, however all members of the Indigo2 Family have this sound card as well. Plus a minor grammatical fix is included. Signed-off-by: Joshua Kinard <kumba@gentoo.org> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* [PATCH] ad1848 section fixAndrew Morton2006-05-211-4/+6
| | | | | | | | | | | | | | | | | | WARNING: sound/oss/ad1848.o - Section mismatch: reference to .init.data:ad1848_isapnp_list from .text between 'ad1848_init_generic' (at offset 0x46f0) and 'kmalloc' WARNING: sound/oss/ad1848.o - Section mismatch: reference to .init.data:ad1848_isapnp_list from .text between 'ad1848_init_generic' (at offset 0x46f8) and 'kmalloc' WARNING: sound/oss/ad1848.o - Section mismatch: reference to .init.data:ad1848_isapnp_list from .text between 'ad1848_init_generic' (at offset 0x4818) and 'kmalloc' Also, sound/oss/ad1848.c: In function `ad1848_init': sound/oss/ad1848.c:2029: warning: cast to pointer from integer of different size sound/oss/ad1848.c: In function `ad1848_unload': sound/oss/ad1848.c:2178: warning: cast to pointer from integer of different size sound/oss/ad1848.c: In function `adintr': sound/oss/ad1848.c:2207: warning: cast from pointer to integer of different size Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] nm256_audio section fixAndrew Morton2006-05-211-3/+3
| | | | | | | WARNING: sound/oss/nm256_audio.o - Section mismatch: reference to .init.text:nm256_peek_for_sig from .text between 'nm256_install' (at offset 0x3ba4) and 'nm256_probe' WARNING: sound/oss/nm256_audio.o - Section mismatch: reference to .init.text:nm256_peek_for_sig from .text between 'nm256_install' (at offset 0x3bac) and 'nm256_probe' WARNING: sound/oss/nm256_audio.o - Section mismatch: reference to .init.text: from .text between 'nm256_install' (at offset 0x3dcc) and 'nm256_probe' WARNING: sound/oss/nm256_audio.o - Section mismatch: reference to .init.text: from .text between 'nm256_install' (at offset 0x3dd0) and 'nm256_probe' Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] es18xx build fixAndrew Morton2006-05-211-0/+2
| | | | | | | | | | sound/isa/es18xx.c: In function `snd_es18xx_identify': sound/isa/es18xx.c:1606: warning: implicit declaration of function `udelay' Cc: Jaroslav Kysela <perex@suse.cz> Cc: Takashi Iwai <tiwai@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] mpu401 section fixAndrew Morton2006-05-211-1/+1
| | | | | | | | | WARNING: sound/drivers/mpu401/snd-mpu401.o - Section mismatch: reference to .init.text: from .text between 'snd_mpu401_pnp_probe' (at offset 0x1f7) and 'snd_mpu401_pnp_remove' Cc: Jaroslav Kysela <perex@suse.cz> Cc: Takashi Iwai <tiwai@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsaLinus Torvalds2006-05-0160-129/+132
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * git://git.kernel.org/pub/scm/linux/kernel/git/perex/alsa: (22 commits) [ALSA] via82xx - Use DXS_SRC as default for VIA8235/8237/8251 chips [ALSA] hda-codec - Add model entry for ASUS Z62F [ALSA] PCMCIA sound devices shouldn't depend on ISA [ALSA] hda-codec - Fix capture from line-in on VAIO SZ/FE laptops [ALSA] Fix Oops at rmmod with CONFIG_SND_VERBOSE_PROCFS=n [ALSA] PCM core - introduce CONFIG_SND_PCM_XRUN_DEBUG [ALSA] adding __devinitdata to pci_device_id [ALSA] add __devinitdata to all pci_device_id [ALSA] hda-codec - Add codec id for AD1988B codec chip [ALSA] hda-codec - Add model entry for ASUS M9 laptop [ALSA] pcxhr - Fix a compiler warning on 64bit architectures [ALSA] via82xx: tweak VT8251 workaround [ALSA] intel8x0 - Disable ALI5455 SPDIF-input [ALSA] via82xx: add support for VIA VT8251 (AC'97) [ALSA] Fix typos and add information about Jack support to Audiophile-Usb.txt [ALSA] Fix double free in error path of miro driver [ALSA] hda-codec - Add entry for Epox EP-5LDA+ GLi [ALSA] sound/pci/: remove duplicate #include's [ALSA] hda-codec - Use model 'hp' for all HP laptops with AD1981HD [ALSA] continue on IS_ERR from platform device registration ...
| * [ALSA] via82xx - Use DXS_SRC as default for VIA8235/8237/8251 chipsTakashi Iwai2006-04-271-2/+6
| | | | | | | | | | | | | | | | Use DXS_SRC as the default value for dxs_support option for VIA8235/8237/8251 chips. These new chips should work well with SRC. For VIA8233/A/C, the old default DXS_48K is still used to be sure. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * [ALSA] hda-codec - Add model entry for ASUS Z62FTakashi Iwai2006-04-271-0/+2
| | | | | | | | | | | | | | Added a model entry 'laptop-eapd' for ASUS Z62F laptop with AD1986A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * [ALSA] PCMCIA sound devices shouldn't depend on ISAErik Mouw2006-04-271-2/+2
| | | | | | | | | | | | | | | | | | The ALSA drivers for PCMCIA devices depend on ISA, but modern laptops can have PCMCIA support without ISA. This patch removes the dependency. Signed-off-by: Erik Mouw <erik@harddisk-recovery.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * [ALSA] hda-codec - Fix capture from line-in on VAIO SZ/FE laptopsTakashi Iwai2006-04-271-2/+2
| | | | | | | | | | | | | | Added the missing line-in capture on VAIO SZ/FE laptops with STAC 7661 codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * [ALSA] Fix Oops at rmmod with CONFIG_SND_VERBOSE_PROCFS=nTakashi Iwai2006-04-274-11/+13
| | | | | | | | | | | | | | | | Fixed Oops at rmmod with CONFIG_SND_VERBOSE_PROCFS=n. Add ifdef to struct fields for optimization and better compile checks. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * [ALSA] PCM core - introduce CONFIG_SND_PCM_XRUN_DEBUGJaroslav Kysela2006-04-273-6/+16
| | | | | | | | | | | | This patch makes the XRUN (overrun/underrun) notification code optional. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
| * [ALSA] add __devinitdata to all pci_device_idHenrik Kretzschmar2006-04-2744-46/+46
| | | | | | | | | | Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * [ALSA] hda-codec - Add codec id for AD1988B codec chipTakashi Iwai2006-04-271-0/+1
| | | | | | | | | | | | | | Add codec id for AD1988B codec chip. The functionality is identical with AD1988(A) chip. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * [ALSA] hda-codec - Add model entry for ASUS M9 laptopTakashi Iwai2006-04-271-0/+2
| | | | | | | | | | | | Add a model entry to support ASUS M9 laptop with AD1986A codec. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * [ALSA] pcxhr - Fix a compiler warning on 64bit architecturesHenrik Kretzschmar2006-04-271-2/+2
| | | | | | | | | | | | | | | | | | The patch fixes a conpile warning on 64bit architectures, caused by different sizes of size_t . Since size_t is unsigned I permited myself to cange the format, too. Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * [ALSA] via82xx: tweak VT8251 workaroundBastiaan Jacques2006-04-271-9/+7
| | | | | | | | | | | | | | | | | | | | | | Move the workaround for the VT8251 up a bit, and check for STAT_EOL rather than STAT_ACTIVE. This resolves issues some people were having with certain ALSA clients (and allows the STAT_ACTIVE check to do what it was intended to do). This change was suggested by Andrew Daviel. Signed-off-by: Bastiaan Jacques <b.jacques@planet.nl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
OpenPOWER on IntegriCloud