aboutsummaryrefslogtreecommitdiffstats
path: root/sound
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] clean up inline static vs static inlineJesper Juhl2005-07-2720-57/+59
| | | | | | | | | | | | | | | `gcc -W' likes to complain if the static keyword is not at the beginning of the declaration. This patch fixes all remaining occurrences of "inline static" up with "static inline" in the entire kernel tree (140 occurrences in 47 files). While making this change I came across a few lines with trailing whitespace that I also fixed up, I have also added or removed a blank line or two here and there, but there are no functional changes in the patch. Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] turn many #if $undefined_string into #ifdef $undefined_stringOlaf Hering2005-07-273-4/+4
| | | | | | | | | turn many #if $undefined_string into #ifdef $undefined_string to fix some warnings after -Wno-def was added to global CFLAGS Signed-off-by: Olaf Hering <olh@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] pcmcia: remove references to pcmcia/version.hDominik Brodowski2005-07-072-2/+0
| | | | | | | | As a follow-up, remove the inclusion of pcmcia/version.h in many files. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] pcmcia: move event handlerDominik Brodowski2005-07-072-23/+8
| | | | | | | | | | Move the "event handler" to struct pcmcia_driver -- the unified event handler will disappear really soon, but switching it to struct pcmcia_driver in the meantime allows for better "step-by-step" patches. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] pm: more u32 vs. pm_message_t fixesPavel Machek2005-07-071-3/+3
| | | | | | | | Few more u32 vs. pm_message_t fixes. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Fix bt87x.c build problem for realDave Jones2005-07-061-1/+1
| | | | | | | Just the declaration fix wasn't enough to fix things in bt78x.c Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] Fix bt87x.c build problemGreg KH2005-07-061-0/+2
| | | | | | | Missing forward declaration Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] PCI: clean up dynamic pci id logicGreg Kroah-Hartman2005-07-011-1/+1
| | | | | | | | | | | | | | | | | The dynamic pci id logic has been bothering me for a while, and now that I started to look into how to move some of this to the driver core, I thought it was time to clean it all up. It ends up making the code smaller, and easier to follow, and fixes a few bugs at the same time (dynamic ids were not being matched everywhere, and so could be missed on some call paths for new devices, semaphore not needed to be grabbed when adding a new id and calling the driver core, etc.) I also renamed the function pci_match_device() to pci_match_id() as that's what it really does. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* [PATCH] pcmcia: id_table for pdaudiocf.cDominik Brodowski2005-06-271-1/+8
| | | | | | | | Add pcmcia_device_id table. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] pcmcia: id_table for vxpocket.cDominik Brodowski2005-06-271-12/+8
| | | | | | | | Add pcmcia_device_id table. Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] ppc32: Remove CONFIG_PMAC_PBOOKBenjamin Herrenschmidt2005-06-276-22/+23
| | | | | | | | | | | | This patch removes CONFIG_PMAC_PBOOK (PowerBook support). This is now split into CONFIG_PMAC_MEDIABAY for the actual hotswap bay that some powerbooks have, CONFIG_PM for power management related code, and just left out of any CONFIG_* option for some generally useful stuff that can be used on non-laptops as well. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Merge 'upstream' branch of ↵Linus Torvalds2005-06-271-2/+3
|\ | | | | | | rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6
| * [PATCH] sound/oss/via82cxxx_audio: Use the DMA_32BIT_MASK constantTobias Klauser2005-06-271-2/+3
| | | | | | | | | | | | | | | | | | Use the DMA_32BIT_MASK constant from dma-mapping.h when calling pci_set_dma_mask() or pci_set_consistent_dma_mask() See http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for details Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch> Signed-off-by: Domen Puncer <domen@coderock.org>
* | Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/dtor/input.git manuallyLinus Torvalds2005-06-278-97/+211
|\ \ | |/ |/| | | Some manual fixups required due to clashes with the PF_FREEZE cleanups.
| * Input: kill empty comment in gameport support section ofAdrian Bunk2005-06-011-5/+0
| | | | | | | | | | | | | | | | cs4281 ALSA driver. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: ES1371 (OSS) - do not carry around gameport code if gameportDmitry Torokhov2005-06-011-32/+63
| | | | | | | | | | | | core support is disabled. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: ES1370 (OSS) - do not carry around gameport code if gameportDmitry Torokhov2005-06-011-30/+58
| | | | | | | | | | | | core support is disabled. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: make sure that joystick support in CMPCI driver can only beDmitry Torokhov2005-06-011-1/+1
| | | | | | | | | | | | | | selected if either gameport is built-in or _both_ gameport and cmpci are built as modules. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: mad16 (OSS) - do not carry around gameport code if gameport coreDmitry Torokhov2005-06-011-7/+23
| | | | | | | | | | | | support is disabled. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: sonicvibes (OSS) - do not carry around gameport code if gameportDmitry Torokhov2005-06-011-5/+20
| | | | | | | | | | | | core support is disabled. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: trident (OSS) - do not carry around gameport code if gameportDmitry Torokhov2005-06-011-12/+25
| | | | | | | | | | | | core support is disabled, some formatting changes. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * Input: ESS Solo (OSS) - do not carry around gameport code if gameportDmitry Torokhov2005-06-011-5/+21
| | | | | | | | | | | | core support is disabled. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | [PATCH] sound/oss/cmpci: Use the DMA_32BIT_MASK constantTobias Klauser2005-06-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | Use the DMA_32BIT_MASK constant from dma-mapping.h when calling pci_set_dma_mask() or pci_set_consistent_dma_mask() See http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for details Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] sound/oss/es1370: Use the DMA_32BIT_MASK constantTobias Klauser2005-06-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | Use the DMA_32BIT_MASK constant from dma-mapping.h when calling pci_set_dma_mask() or pci_set_consistent_dma_mask() See http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for details Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] sound/oss/es1371: Use the DMA_32BIT_MASK constantTobias Klauser2005-06-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | Use the DMA_32BIT_MASK constant from dma-mapping.h when calling pci_set_dma_mask() or pci_set_consistent_dma_mask() See http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for details Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] sound/oss/esssolo1: Use the DMA_32BIT_MASK constantTobias Klauser2005-06-251-1/+2
| | | | | | | | | | | | | | | | | | | | | | Use the DMA_32BIT_MASK constant from dma-mapping.h when calling pci_set_dma_mask() or pci_set_consistent_dma_mask() See http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for details Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch> Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] change the SOUND_PRIME handlingAdrian Bunk2005-06-251-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SOUND_PRIME (for OSS) is a tristate. This doesn't make much sense if most users are checking for SOUND_PRIME!=0. This patch changes the semantics of SOUND_PRIME to being a limit for all OSS modules, IOW: SOUND_PRIME=m does now say that all OSS drivers can only be modular. As a side effect, since SOUND_PRIME already depends on SOUND, there's no longer a reason for drivers depending on SOUND_PRIME to additionally depend on SOUND. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] sound/oss/sscape.c: remove dead codeAdrian Bunk2005-06-251-7/+1
| | | | | | | | | | | | | | | | | | | | | | The Coverity checker found that sscape_sb_enable never get's assigned any value different from 0, and therefore some code paths are impossible. This patch removes this variable and the dead code paths. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] sound/oss/rme96xx.c: remove kernel 2.2 #if'sAdrian Bunk2005-06-251-4/+0
| | | | | | | | | | | | | | | | This patch removes #if's for kernel 2.2 . Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] nm256 oss build failureDave Jones2005-06-252-5/+3
| | | | | | | | | | | | | | | | static declaration follows non static Signed-off-by: Dave Jones <davej@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] sound/oss/: cleanupsAdrian Bunk2005-06-256-13/+11
| | | | | | | | | | | | | | | | | | This patch contains cleanups including the following: - make needlessly global code static Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] remove redundant NULL checks before kfree() in sound/ and avoid ↵Jesper Juhl2005-06-258-28/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | casting pointers about to be kfree()'ed Checking a pointer for NULL before calling kfree() on it is redundant, kfree() deals with NULL pointers just fine. This patch removes such checks from sound/ This patch also makes another, but closely related, change. It avoids casting pointers about to be kfree()'ed. Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [PATCH] create a kstrdup library functionPaulo Marques2005-06-2310-38/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch creates a new kstrdup library function and changes the "local" implementations in several places to use this function. Most of the changes come from the sound and net subsystems. The sound part had already been acknowledged by Takashi Iwai and the net part by David S. Miller. I left UML alone for now because I would need more time to read the code carefully before making changes there. Signed-off-by: Paulo Marques <pmarques@grupopie.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [ALSA] emu10k1: Add more card identification entries.James Courtier-Dutton2005-06-221-0/+78
| | | | | | | | | | | | EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* | [ALSA] Add dxs_support for Soltek SL-K8Tpro-939Takashi Iwai2005-06-221-0/+1
| | | | | | | | | | | | | | VIA82xx driver Added dxs_support entry for Soltek SL-K8Tpro-939. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] SigmaTel HDA SPDIF and input mux updatesMatt2005-06-221-39/+145
| | | | | | | | | | | | | | | | | | HDA Codec driver Adds SPDIF in/out support to the SigmaTel HDA codecs. Now builds the input mux control element names from the defcfg regs. Signed-off-by: Matt <matt@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] via82xx - Fix info text about dxs_support optionTakashi Iwai2005-06-221-1/+2
| | | | | | | | | | | | | | VIA82xx driver Fixed the info text about dxs_support option (suggest dxs_support=5). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] hda-codec - More fix of ALC880 codec supportTakashi Iwai2005-06-226-1092/+1201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Documentation,HDA Codec driver,HDA generic driver,HDA Intel driver - Fix some invalid configurations, typos in the last patch - Make init_verbs chainable, so that different configs can share the same init_verbs - Reorder and clean up the source codes in patch_realtek.c - Add the pin default configuration parser, used commonly in cmedia and realtek patch codes. - Add 'auto' model to ALC880 for auto-configuration from BIOS Use this model as default, and 3-stack as fallback Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] Add const prefixTakashi Iwai2005-06-221-1/+1
| | | | | | | | | | | | | | Control Midlevel Add const prefix to snd_kcontrol_new_t pointer for better protection. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] hda-codec - Add support of more models with ALC codecsTakashi Iwai2005-06-223-162/+723
| | | | | | | | | | | | | | | | | | | | | | | | | | | | HDA Codec driver,HDA Intel driver Merged the work of pshou <pshou@realtek.com.tw> for the support of more models with ALC codecs: ALC880 ASUS, Uniwill, FSC1734, generic 6-stack, and ALC260 HP. Tests with the real hardwares are appreciated. The codec patch is cleaned up: The preset configuration of codecs are stored in the table and copied to the spec instance. Added/fixed comments. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] hda-codec - Allow sub_device=0 in board config checkTakashi Iwai2005-06-221-1/+2
| | | | | | | | | | | | | | | | HDA Codec driver Allow sub_device=0 in board config check. This means that every device with the given sub vendor ID will match. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] hda-codec - Clean up and fix ALC-codec support codeTakashi Iwai2005-06-221-308/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | HDA Codec driver Clean up and fix ALC-codec support code. The last addition of bound volume is fixed now to handle correctly the bound 'mute switches'. The analog loopback should work better. The init verbs are fixed together with this change. The numbers are replaced with macros for better readability. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] hda-codec - Feed front signals to all surroundsTakashi Iwai2005-06-221-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | HDA Codec driver Feed front signals to all surround channels if no data is given for surround channels. It seems that CLFE works as expected (only center outputs) even if connected from the front line - at least on my test system. If this change causes problems on other system (e.g. only the left channel is transferred to the center channel), please let me know... Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] hda-codec - Print all AMP IN valuesTakashi Iwai2005-06-221-17/+27
| | | | | | | | | | | | | | HDA generic driver Print all AMP IN values when multiple nodes are connected. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] Disable MPU401 on SIS7018Takashi Iwai2005-06-221-1/+2
| | | | | | | | | | | | | | Trident driver Disable MPU401 support on SIS7018 since it results in kernel freeze. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] Fix the analog loopback volumes of ALC codecsTakashi Iwai2005-06-221-25/+97
| | | | | | | | | | | | | | HDA Codec driver Fix the analog loopback volumes of ALC codecs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] Fix the PCM mixer switch for AD1986ATakashi Iwai2005-06-221-1/+1
| | | | | | | | | | | | | | HDA Codec driver Fix the PCM mixer switch for AD1986a (it was a typo). Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] Fix the handling of amp cache in hda-codecTakashi Iwai2005-06-221-40/+34
| | | | | | | | | | | | | | | | HDA Codec driver Fixed the handling of amp cache in hda-codec driver. The confliction of cache values with different indices should be fixed now. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] via82xx - fixed entry for Umax AB 595T (VIA K8N800A - VT8237)Jaroslav Kysela2005-06-221-1/+1
| | | | | | | | | | | | | | VIA82xx driver As the original reporter noted, the NO_VRA must be used for loud volumes. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* | [ALSA] ca0106: Fix 96000 Hz audio playback.James Courtier-Dutton2005-06-222-2/+2
| | | | | | | | | | | | CA0106 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>