summaryrefslogtreecommitdiffstats
path: root/sound
Commit message (Collapse)AuthorAgeFilesLines
* [ALSA] au1x00 - Code clean upTakashi Iwai2006-01-031-150/+150
| | | | | | | | | | | | | | Modules: MIPS AU1x00 driver Clean up snd-au1x00 driver code: - Remove global variables - Remove old compatibility codes - Fix DMA-link allocation/release functions in hw_params and hw_free callbacks (they may be called multiple times) - Fix spinlocks Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Clean up ISA cs4231 codeTakashi Iwai2006-01-031-80/+2
| | | | | | | | | Modules: CS4231 driver Clean up ISA cs4231 code, removing experimental EBUS/SBUS merge, to improve readability. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Clean up sa11xx-uda1341 driverTakashi Iwai2006-01-032-55/+153
| | | | | | | | | | | | | Modules: SA11xx UDA1341 driver,L3 drivers,UDA1341 Clean up sa11xx-uda1341 driver: - Fix buggy destructor - Remove the global variable - Move array definitions from uda1341.h - Make functions in uda1341.c static Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove tea6330t struct definition from public headerTakashi Iwai2006-01-031-0/+12
| | | | | | | | | Modules: I2C tea6330t Remove tea6330t struct definition from public header. It's anyway unaccessible from outside. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove snd_vx_delay() functionTakashi Iwai2006-01-033-28/+15
| | | | | | Replace snd_vx_delay() with appropriate delay/sleep functions. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] snd-dummy - Code clean-upTakashi Iwai2006-01-031-79/+47
| | | | | | | | | | | Modules: Generic drivers Clean up snd-dummy driver code. - Make common PCM callbacks - Simplify open callback - Remove unnecessary irqsave in control callbacks Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Use standard bitmap functionsTakashi Iwai2006-01-035-113/+53
| | | | | | | | Modules: ALSA<-OSS emulation Use standard bitmap functions instead of in-house ones. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Sort Kconfig entriesTakashi Iwai2006-01-032-284/+284
| | | | | | | | Modules: ISA,PCI drivers Sort Kconfig entries in alphabetical order. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Minor clean up and fixes for CS5535 audio driverTakashi Iwai2006-01-033-60/+41
| | | | | | | | | Modules: Documentation,CS5535 driver Minor clean up and fixes for CS5535 audio driver. Added an entry in ALSA-Configuration.txt, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add support for the CS5535 Audio deviceJaya Kumar2006-01-036-0/+985
| | | | | | | | | | | | | | | Add support for the CS5535 Audio device. I've fixed up some errors as per Takashi's advice from the thread: http://lkml.org/lkml/2005/9/15/119 From: Alan Cox <alan@lxorguk.ukuu.org.uk> cs5535 is a 32bit x86 only device using weird CPU features Signed-off-by: Jaya Kumar <jayakumar.alsa@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Remove superfluous pcm_free callbacksTakashi Iwai2006-01-0334-381/+1
| | | | | | Remove superflous pcm_free callbacks. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Fix missing suspend/resume-code for ens1371Kurt J. Bosch2006-01-031-51/+123
| | | | | | | | | | Modules: ENS1370/1+ driver This patch fixes missing suspend/resume-code for snd-ens1371 (but not for snd-ens1370) Signed-off-by: Kurt J. Bosch <kjb-temp-2005@gmx.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Fix HDA sound and V.92 modem for notebook Siemens FieldPG-MDaniel Mueller2006-01-031-0/+1
| | | | | | | | | | Modules: HDA Codec driver The patch fixes the problem of mute onboard HDA sound output, buildin V.92 modem idendification and functionality. Signed-off-by: Daniel Mueller <daniel.mueller@siemens.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ac97 - procfs - print PCI subsystem vendor/device valuesJaroslav Kysela2006-01-031-0/+7
| | | | | | | | | Modules: AC97 Codec For debugging and problem finding purposes, show also the PCI subsystem vendor/device values in the ac97#X proc file. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] snd-emu10k1: Found some new registers to display in debug mode.James Courtier-Dutton2006-01-031-2/+14
| | | | | | Modules: EMU10K1/EMU10K2 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] snd-emu10k1: Attenuate output volume to reduce distortionJames Courtier-Dutton2006-01-032-0/+38
| | | | | | | | | | | | | | | Modules: EMU10K1/EMU10K2 driver on Audigy 2 ZS Notebook. Set the master volume to about 6 or 8% in alsamixer. This will attenuate the output enough for better sound quality. Note: Only stereo enabled at present. The distortion is caused by the output path after the DSP adding 12dB gain to the output while still in digital mode, resulting in wrap around distortion. Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
* [ALSA] ali5451 - Fix and clean up codec accessorTakashi Iwai2006-01-031-53/+36
| | | | | | | | | Modules: ALI5451 driver Fix the codec accessors to avoid soft lockup. Spin locks are revised, too. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] ice1724 (juli) - forced analog doughter board detectionJaroslav Kysela2006-01-031-1/+8
| | | | | | Modules: ICE1712 driver Signed-off-by: Jaroslav Kysela <perex@suse.cz>
* [ALSA] via82xx - Add dxs entry for MSI KT800 Delta-FSRTakashi Iwai2006-01-031-0/+1
| | | | | | | | Modules: VIA82xx driver Added the dxs entry for MSI KT800 Delta-FSR. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] Add support for Audigy 2 subsystem 2006Lee Revell2006-01-031-0/+10
| | | | | | | | | Modules: EMU10K1/EMU10K2 driver Add support for Audigy 2 subsystem 2006. Signed-off-by: Lee Revell <rlrevell@joe-job.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] emu10k1 - Enable side surround channels for Audigy2 EXLee Revell2006-01-031-0/+1
| | | | | | | | | | Modules: EMU10K1/EMU10K2 driver Enable side surround channels for Audigy2 EX. Tested by Rick Wright <riwright@vt.edu>. Signed-off-by: Lee Revell <rlrevell@joe-job.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] sound/hda: rate-limit timeout messageRandy Dunlap2006-01-031-1/+4
| | | | | | | | | | | Modules: HDA Intel driver Rate-limit the azx_get_response timeout message. A continuous 2 per second is too much. Signed-off-by: Randy Dunlap <randy_d_dunlap@linux.intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [ALSA] hda-codec - Allocate amp hash array dynamicallyTakashi Iwai2006-01-032-4/+21
| | | | | | | | Modules: HDA Codec driver Allocate amp hash array dynamically instead of static array. Signed-off-by: Takashi Iwai <tiwai@suse.de>
* [SPARC]: introduce a SPARC Kconfig symbolAdrian Bunk2005-12-221-1/+1
| | | | | | | | | | Introduce a Kconfig symbol SPARC that is defined on both the sparc and sparc64 architectures. This symbol makes some dependencies more readable. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
* [PATCH] Au1550 AC'97 OSS driver spinlock fixesSergei Shtylylov2005-12-151-11/+18
| | | | | | | | | | | | | | | | | | | We have found some issues with Au1550 AC'97 OSS driver in 2.6 (sound/oss/au1550_ac97.c), though it also should concern 2.4 driver (drivers/sound/au1550_psc.c). start_dac() grabs a spinlock already held by its caller, au1550_write(). This doesn't show up with the standard UP spinlock impelmentation but when the different one (mutex based) is in use, a lockup happens. And the interrupt handlers also didn't grab the spinlock -- that's OK in the usual kernel but not when the IRQ handlers are threaded. So, they're grabbing the spinlock now (as every correct interrupt handler should do). Signed-off-by: Konstantin Baidarov <kbaidarov@ru.mvista.com> Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] unpaged: fix sound Bad page statesHugh Dickins2005-11-221-0/+2
| | | | | | | | | | | | | | | | | | Earlier I unifdefed PageCompound, so that snd_pcm_mmap_control_nopage and others can give out a 0-order component of a higher-order page, which won't be mistakenly freed when zap_pte_range unmaps it. But many Bad page states reported a PG_reserved was freed after all: I had missed that we need to say __GFP_COMP to get compound page behaviour. Some of these higher-order pages are allocated by snd_malloc_pages, some by snd_malloc_dev_pages; or if SBUS, by sbus_alloc_consistent - but that has no gfp arg, so add __GFP_COMP into its sparc32/64 implementations. I'm still rather puzzled that DRM seems not to need a similar change. Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] unpaged: sound nopage get_pageHugh Dickins2005-11-221-0/+1
| | | | | | | | | | | | | | | | | | Something noticed when studying use of VM_RESERVED in different drivers: snd_usX2Y_hwdep_pcm_vm_nopage omitted to get_page: fixed. And how did this work before? Aargh! That nopage is returning a page from within a buffer allocated by snd_malloc_pages, which allocates a high-order page, then does SetPageReserved on each 0-order page within. That would have worked in 2.6.14, because when the area was unmapped, PageReserved inhibited put_page. 2.6.15-rc1 removed that inhibition (while leaving ineffective PageReserveds around for now), but it hasn't caused trouble because.. we've not been freeing from VM_RESERVED at all. Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [PATCH] PowerBook 6,1: headphone not detected after suspendGuido Guenther2005-11-161-1/+7
| | | | | | | | | | | | | | | | ever since suspend to disk works I had the problem that headphone (un)plugging doesn't get detected properly anymore after the first resume. Reloading the module worked around this ever since, however the real cause of the problem was that after a resume the driver only got interrupts on "unplug" not on "plug". Reactivating the headphone status interrupt in tumbler_resume fixes this. This shouldn't cause any trouble with software suspend, but it would be nice if somebody could confirm this: Signed-off-by: Guido Guenther <agx@sigxcpu.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
* [PATCH] move pm_register/etc. to CONFIG_PM_LEGACY, pm_legacy.hJeff Garzik2005-11-135-8/+14
| | | | | | | | Since few people need the support anymore, this moves the legacy pm_xxx functions to CONFIG_PM_LEGACY, and include/linux/pm_legacy.h. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* Merge master.kernel.org:/home/rmk/linux-2.6-drvmodelLinus Torvalds2005-11-113-29/+31
|\
| * [DRIVER MODEL] Convert platform drivers to use struct platform_driverRussell King2005-11-093-29/+31
| | | | | | | | | | | | | | | | | | This allows us to eliminate the casts in the drivers, and eventually remove the use of the device_driver function pointer methods for platform device drivers. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
* | [PATCH] pci_ids cleanup: fix two additional IDs in bt87xGrant Coady2005-11-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | pci_ids cleanup: fixup bt87x.c: two macro defined IDs missed in prior cleanup. Caught by Chun-Chung Chen <cjj@u.washington.edu>: "In the patch for bt87x.c, you seemed have missed the two occurrences of BT_DEVICE on line 897 and line 898." Signed-off-by: Grant Coady <gcoady@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* | [PATCH] PCI: removed unneeded .owner field from struct pci_driverGreg Kroah-Hartman2005-11-1038-38/+0
| | | | | | | | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* | [PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reasonOlaf Hering2005-11-095-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes almost all inclusions of linux/version.h. The 3 #defines are unused in most of the touched files. A few drivers use the simple KERNEL_VERSION(a,b,c) macro, which is unfortunatly in linux/version.h. There are also lots of #ifdef for long obsolete kernels, this was not touched. In a few places, the linux/version.h include was move to where the LINUX_VERSION_CODE was used. quilt vi `find * -type f -name "*.[ch]"|xargs grep -El '(UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/version.h)'|grep -Ev '(/(boot|coda|drm)/|~$)'` search pattern: /UTS_RELEASE\|LINUX_VERSION_CODE\|KERNEL_VERSION\|linux\/\(utsname\|version\).h 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] schedule obsolete OSS drivers for removalAdrian Bunk2005-11-091-29/+44
| | | | | | | | | | | | | | | | | | | | | | This patch schedules obsolete OSS drivers (with ALSA drivers that support the same hardware) for removal. Scheduling the via82cxxx driver for removal was ACK'ed by Jeff Garzik. 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] vx_hwdep.c needs vmalloc.hAndrew Morton2005-11-091-0/+1
|/ | | | | | | | | | | sound/drivers/vx/vx_hwdep.c: In function `free_fw': sound/drivers/vx/vx_hwdep.c:144: error: implicit declaration of function `vfree' sound/drivers/vx/vx_hwdep.c: In function `vx_hwdep_dsp_load': sound/drivers/vx/vx_hwdep.c:163: error: implicit declaration of function `vmalloc' Cc: Jaroslav Kysela <perex@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* [SPARC]: More abstractions and cleanups of dma handling in cs4231.Georg Chini2005-11-071-341/+342
| | | | | | From: Georg Chini <georg.chini@triaton-webhosting.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* [SPARC]: Make SBUS dma code similar to EBUSGeorg Chini2005-11-071-112/+199
| | | | | | | | | | | | From: Georg Chini <georg.chini@triaton-webhosting.com> Introduce some sbus_dma routines similar to the ebus_dma stuff to make the code look nearly the same for both cases. Thanks to Christopher for testing. Signed-off-by: David S. Miller <davem@davemloft.net>
* Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linusLinus Torvalds2005-11-072-6/+6
|\
| * OSS MIPS drivers: "extern inline" -> "static inline"Adrian Bunk2005-11-072-6/+6
| | | | | | | | | | | | | | "extern inline" doesn't make much sense. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* | Merge master.kernel.org:/pub/scm/linux/kernel/git/dtor/inputLinus Torvalds2005-11-071-12/+19
|\ \
| * | Input: convert dmasound_awacs (OSS) to dynamic input allocationIan Wienand2005-11-021-12/+19
| |/ | | | | | | | | Signed-off-by: Ian Wienand <ianw@gelato.unsw.edu.au> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
* | Merge master.kernel.org:/pub/scm/linux/kernel/git/perex/alsaLinus Torvalds2005-11-07154-2825/+3586
|\ \
| * | [ALSA] ice1724 - Fix ADC mux put callback in aureon.cTakashi Iwai2005-11-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Modules: ICE1712 driver Fix the return value of ADC mux put callback in aureon.c. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] Cleanup - remove sound/core/wrappers.cJaroslav Kysela2005-11-071-40/+0
| | | | | | | | | | | | Signed-off-by: Jaroslav Kysela <perex@suse.de>
| * | [ALSA] usb-audio: remove duplicate fixup entry (Hercules DJ Console)Jaroslav Kysela2005-11-041-5/+0
| | | | | | | | | | | | | | | | | | Modules: USB generic driver Signed-off-by: Jaroslav Kysela <perex@suse.cz>
| * | [ALSA] hda-codec - Minor rewritesTakashi Iwai2005-11-044-144/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: HDA Codec driver,HDA generic driver - Make bound controls global to all patches - Clean up analog patches (for the upcoming extension to AD1988) Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] hda-codec - Show power state in proc fileTakashi Iwai2005-11-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Modules: HDA generic driver Show the power state of each widget in proc file. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] ice1724 - Add SPDIF support to Shuttle SN25PTakashi Iwai2005-11-041-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | Modules: ICE1712 driver Added the SPDIF support to Shuttle SN25P. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] usb-audio: start submitting URBs in the prepared stateClemens Ladisch2005-11-041-38/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: USB generic driver If we submit all our URBs when a playback stream is started, the first hwptr_done update for each URB happens at the same time. This results in an underrun when there isn't enough PCM data available at this point for all URBs. To avoid this, we begin submitting our URBs earlier (when the stream is prepared), with empy packets. When the stream is started, the prepare_playback_urb() call for each URB will be run only when the respective URB has completed previously, so the first hwptr_done updates will be done nicely staggered. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
OpenPOWER on IntegriCloud