summaryrefslogtreecommitdiffstats
path: root/sound
Commit message (Collapse)AuthorAgeFilesLines
* [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>
* [ALSA] Add HDSP MADI driverTakashi Iwai2005-06-223-0/+3686
| | | | | | | | HDSPM driver,PCI drivers,RME9652 driver Added RME Hammerfall DSP MADI driver by Winfried Ritsch. (Moved from alsa-driver tree to mainline.) Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] cs4236-irq-handling-fix.patchChristoph Schulz2005-06-221-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | CS4236+ driver Background: The card/chipset supports an external MIDI interrupt. By default, this interrupt isn't used (because the isapnp mechanism chooses a configuration without an assigned interrupt). If the user wishes to explicitly select an interrupt via the mpu_irq parameter for such a configured device, it doesn't work: The driver always shows: isapnp MPU: port=0x330, irq=-1 (note the 'irq=-1') Problem: The driver only allows to set the irq if pnp_irq_valid returns true for this particular pnp device. This, however, is only true if an interrupt has already been assigned (pnp_valid_irq returns true if the flag IORESOURCE_IRQ is set and IORESOURCE_UNSET is not set). If no interrupt has been assigned so far, IORESOURCE_UNSET is set and pnp_irq_valid returns false, thereby inhibiting the selection of a valid irq. Solution: Don't check for a valid (= already assigned) irq at the point of calling pnp_resource_change. Tested successfully on Linux 2.6.11. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] OSS PCM emulation - The 2nd final fix for SNDCTL_DSP_GETOPTR problemJaroslav Kysela2005-06-221-4/+4
| | | | | | | | ALSA<-OSS emulation The problem was negative/wrong result (info.bytes) in a specific condition at playback startup. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Add FSC T3010 quirkTakashi Iwai2005-06-221-0/+6
| | | | | | | Intel8x0 driver Added ac97_quirk for FSC T3010. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] OSS PCM emulation - The final fix for SNDCTL_DSP_GETOPTR problemJaroslav Kysela2005-06-221-2/+5
| | | | | | | | ALSA<-OSS emulation The problem was negative result (info.bytes) in a specific condition at playback startup. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Fix races between PCM drain and other opsTakashi Iwai2005-06-221-34/+36
| | | | | | | PCM Midlevel Fix semaphore races between PCM drain and other ops. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-intel - Fix Oops in the error pathTakashi Iwai2005-06-221-1/+4
| | | | | | | HDA Intel driver Fixed Oops in the error path from probe function of snd-hda-intel driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add write support to snd-page-alloc proc fileTakashi Iwai2005-06-223-102/+127
| | | | | | | | Documentation,Memalloc module,RME HDSP driver,RME9652 driver Add the write support to snd-page-alloc proc file for buffer pre-allocation. Removed the pre-allocation codes via module options. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove redundant NULL checks before kfreeJesper Juhl2005-06-2218-87/+39
| | | | | | | | | | | | | | | | Timer Midlevel,ALSA sequencer,ALSA<-OSS sequencer,Digigram VX core I2C tea6330t,GUS Library,VIA82xx driver,VIA82xx-modem driver CA0106 driver,CS46xx driver,EMU10K1/EMU10K2 driver,YMFPCI driver Digigram VX Pocket driver,Common EMU synth,USB generic driver,USB USX2Y 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: Takashi Iwai <tiwai@suse.de>
* [ALSA] AC97 - renamed vendor/device to subvendor/subdevice where appropriateJames Courtier-Dutton2005-06-221-74/+74
| | | | | | | | | Intel8x0 driver To avoid confusion, the structure members vendor/device were renamed to subvendor/subdevice, because we compare them with PCI subsystem vendor and subsystem device. Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] AC97 - renamed vendor/device to subvendor/subdevice where appropriateJaroslav Kysela2005-06-223-65/+65
| | | | | | | | | AC97 Codec,ATIIXP driver,VIA82xx driver To avoid confusion, the structure members vendor/device were renamed to subvendor/subdevice, because we compare them with PCI subsystem vendor and subsystem device. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] via82xx - added 0x1071/0x8399 to while listJaroslav Kysela2005-06-221-0/+1
| | | | | | | | | VIA82xx driver - 0x1071, 0x8399 == VIA_DXS_ENABLE - Umax AB 595T (VIA K8N800A - VT8237) - reporter: Honza Machacek <Hloupy.Honza@centrum.cz> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Modem support for ALI5451Sasha Khapyorsky2005-06-221-63/+218
| | | | | | | | | ALI5451 driver This patch adds modem support for ali5451. Since it is same pci device all is done in ali5451.c. Signed-off-by: Sasha Khapyorsky <sashak@smlink.com> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] sound/pci/ca0106: Use the DMA_32BIT_MASK constantTobias Klauser2005-06-221-2/+3
| | | | | | | | | | | CA0106 driver 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: Jaroslav Kysela <perex@suse.cz>
* [ALSA] PCI modem drivers updateSasha Khapyorsky2005-06-223-119/+25
| | | | | | | | | ATIIXP-modem driver,Intel8x0-modem driver,VIA82xx-modem driver Modem drivers (atiixp-modem, intel8x0m, via82xx-modem) migration for using MC97 generic modem mixer for off-hook operation. Signed-off-by: Sasha Khapyorsky <sashak@smlink.com> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] MC97 modem mixer in sound/pci/ac97Sasha Khapyorsky2005-06-222-4/+38
| | | | | | | | | AC97 Codec Simple MC97 modem mixer with two common controls: Off-hook and CID, and Si3056 MC specific control: Modem Speaker. Signed-off-by: Sasha Khapyorsky <sashak@smlink.com> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] Be more specific with which I2C channel to use.James Courtier-Dutton2005-06-221-1/+4
| | | | | | CA0106 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] Implement S32_LE(24bit) and 96000 capture rates etc.James Courtier-Dutton2005-06-221-4/+59
| | | | | | CA0106 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] Add Mic capture support.James Courtier-Dutton2005-06-222-1/+69
| | | | | | | CA0106 driver Notes: This adds a new mixer item to switch between Mic and Line-in. Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] Implement support for Line-in capture on SB Live 24bit.James Courtier-Dutton2005-06-223-10/+148
| | | | | | | CA0106 driver Notes: MIC capture not tested yet. Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* Merge with ↵Jaroslav Kysela2005-06-221-1/+1
|\ | | | | | | rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
| * [PATCH] rme96xx: fix PageReserved rangeHugh Dickins2005-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | rme96xx busmaster_malloc miscalculates and fails to set PageReserved on any page of char *buf; but busmaster_free does it right, so do the same (I don't have the card, just noticed this while sifting for rmap BUGs). Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.gitJaroslav Kysela2005-06-214-24/+23
|\ \ | |/
| * [PATCH] class: convert sound/* to use the new class api instead of class_simplegregkh@suse.de2005-06-203-18/+17
| | | | | | | | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
| * [PATCH] usbusx2y: prevent oops & dead keyboard on usb unplugging while the ↵Karsten Wiese2005-06-141-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | device is being used Without this patch, some usb kobjects, which are parents to the usx2y's kobjects can be freed before the usx2y's. This led to an oops in get_kobj_path_length() and a dead keyboard, when the usx2y's kobjects were freed. The patch ensures the correct sequence. Tested ok on kernel 2.6.12-rc2. Present in ALSA cvs Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| * [PATCH] usbaudio: prevent oops & dead keyboard on usb unplugging while the ↵Karsten Wiese2005-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | device is being used Without this patch, some usb kobjects, which are parents to the usx2y's kobjects can be freed before the usx2y's. This led to an oops in get_kobj_path_length() and a dead keyboard, when the usx2y's kobjects were freed. The patch ensures the correct sequence. Tested ok on kernel 2.6.12-rc2. Present in ALSA cvs Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Chris Wright <chrisw@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| * Automatic merge of 'for-linus' branch fromLinus Torvalds2005-05-291-6/+6
| |\ | | | | | | | | | rsync://rsync.kernel.org/pub/scm/linux/kernel/git/dtor/input
| | * Input:Adrian Bunk2005-05-281-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds dummy gameport_register_port, gameport_unregister_port and gameport_set_phys functions to gameport.h for the case when a driver can't use gameport. This fixes the compilation of some OSS drivers with GAMEPORT=n without the need to #if inside every single driver. This patch also removes the non-working and now obsolete SOUND_GAMEPORT. This patch is also an alternative solution for ALSA drivers with similar problems (but #if's inside the drivers might have the advantage of saving some more bytes of gameport is not available). The only user-visible change is that for GAMEPORT=m the affected OSS drivers are now allowed to be built statically (but they won't have gameport support). Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
| * | [PATCH] ppc32: Fix Alsa PowerMac driver on old machinesBenjamin Herrenschmidt2005-05-281-11/+19
| |/ | | | | | | | | | | | | | | | | | | | | | | The g5 support code broke some earlier models unfortunately as those bail out early from the detect function, before the point where I added the code to locate the PCI device for use with DMA allocations. This patch fixes it. 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>
* | [ALSA] select ISAPNP for SND_INTERWAVE_STB targetJaroslav Kysela2005-05-291-0/+1
| | | | | | | | | | | | | | ISA Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* | [ALSA] Fix compilation on 32bit archTakashi Iwai2005-05-291-1/+10
| | | | | | | | | | | | | | ALSA<-OSS emulation Fix the division with int64 for 32bit architectures. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] emu10k1: add details for the audigy player box versionArnaud Patard2005-05-291-0/+6
| | | | | | | | | | | | | | | | EMU10K1/EMU10K2 driver Add details for the audigy player box version. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
OpenPOWER on IntegriCloud