aboutsummaryrefslogtreecommitdiffstats
path: root/sound
Commit message (Collapse)AuthorAgeFilesLines
* [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>
* | [ALSA] ice1724 - Add support of Chaintech AV-710Takashi Iwai2005-05-292-1/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | Documentation,ICE1724 driver Add the support of Chaintech AV-710 to ice1724 driver. The patch includes the WM-codec initialization fix by Jaanus Kivistik <jaanus@no.spam.ee>. Since both AV-710 and AMP Audio2000 have the same SSID, initialize WM codecs as default for both devices. In case it breaks Audio2000, you can pass 'model=amp2000' option to avoid WM codec initialization. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] als4000 - Fix kernel panic with MPU401Takashi Iwai2005-05-291-1/+1
| | | | | | | | | | | | | | ALS4000 driver Fix kernel panic with als4000 when MPU401 is accessed. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] alsa-oss - 2nd - improved readabilityJaroslav Kysela2005-05-291-2/+2
| | | | | | | | | | | | | | ALSA<-OSS emulation Use 'long' for byte counters in snd_pcm_oss_bytes() snd_pcm_alsa_bytes(). Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* | [ALSA] alsa-oss - improve readability of snd_pcm_oss_bytes() functionJaroslav Kysela2005-05-291-3/+3
| | | | | | | | | | | | | | | | ALSA<-OSS emulation Added bytes variable and do not use the frames argument as a temporaly storage for the byte counter. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* | [ALSA] Add dxs_support for a Twinhead moboTakashi Iwai2005-05-291-0/+1
| | | | | | | | | | | | | | VIA82xx driver Added dxs_support=4 for a Twinhead mobo. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] Fix a wrong bit set in AC1985 codeTakashi Iwai2005-05-291-2/+2
| | | | | | | | | | | | | | AC97 Codec Fixed a wrong bit set in AD1985 surround jack controls. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] Reverted last patch for SNDCTL_DSP_GETOPTR fix & possible overflow fixJaroslav Kysela2005-05-291-4/+3
| | | | | | | | | | | | | | | | | | ALSA<-OSS emulation This reverts the last patch which wrongly mixes bytes and frames. The real culprit might be the 32-bit overflow, so the return expression uses 64-bit values now in snd_pcm_oss_bytes(). Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* | [ALSA] pcm_oss - fix SNDCTL_DSP_GETOPTR not working correctlyRoger Mach2005-05-291-2/+3
| | | | | | | | | | | | | | | | | | | | ALSA<-OSS emulation This patch changes snd_pcm_oss_bytes() by adding a local variable for the frames -> bytes conversion, which means that the frame count is no longer corrupted by this conversion. Signed-off-by: Roger Mach <bigmach@us.ibm.com> Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
* | [ALSA] Fix ALC880 capture problemsTakashi Iwai2005-05-291-19/+67
| | | | | | | | | | | | | | | | | | HDA Codec driver Fixed the capture on some ALC880 devices. The node 0x07 is sometimes invalid as an ADC. Also, the intialization of ADC nodes are fixed on some models. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] hda-code: Fix the array size of codec listTakashi Iwai2005-05-291-1/+1
| | | | | | | | | | | | | | HDA Codec driver Fixed the wrong array size of the codec pointer list. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] Use standard form for URLTakashi Iwai2005-05-291-1/+1
| | | | | | | | | | | | | | Sound Core Use the standard form with <> for URL in Kconfig help texts. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] Make docproc happyTakashi Iwai2005-05-291-3/+3
| | | | | | | | | | | | | | PCM Midlevel Make docproc happy by moving '#if 0' before comments. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] Add comments for Takashi Iwai2005-05-291-0/+5
| | | | | | | | | | | | | | | | | | | | Sound Core Added (minimal) comments for in Kconfig, so that configurators can choose this entry explicitly. A more descriptive comment by someone else is appreciated... Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] Update documentation for ice1712 and ice1724Takashi Iwai2005-05-291-1/+2
| | | | | | | | | | | | | | | | Documentation,ICE1712 driver Updated the documentation for ice1712 and ice1724 drivers. Added the device description for shuttle SN25P missing in the last patch. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] Add Shuttle SN25P supportTakashi Iwai2005-05-292-0/+10
| | | | | | | | | | | | | | ICE1712 driver Added the support for Shuttle SN25P. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* | [ALSA] Add the vendor 0x1558 to PM whitelist of es1968Takashi Iwai2005-05-291-0/+1
| | | | | | | | | | | | | | ES1968 driver Added the vendor id 0x1558 to the power management whitelist of es1968 driver. Signed-off-by: Takashi Iwai <tiwai@suse.de>