summaryrefslogtreecommitdiffstats
path: root/sound
Commit message (Collapse)AuthorAgeFilesLines
* [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>
| * | [ALSA] ac97 - Fix confliction of DRA and surround slotsTakashi Iwai2005-11-042-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Modules: AC97 Codec Fixed the confliction of DRA and surround slots 7/8. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] intel8x0 - Fix irq handler registrationTakashi Iwai2005-11-041-19/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: Intel8x0 driver - Request irq handler after proper initialization - Don't override always buggy_irq option for Nvidia Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] AMD Au1x00 driver: buggy spinlocksKonstantin Baydarov2005-11-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: MIPS AU1x00 driver AMD Au1x00 ALSA driver fails compilation with the alternate spinlock implementation because it doesn't do locking/unlocking correctly in some places (passes spinlock by value). Signed-off-by: Konstantin Baydarov <kbaidarov@ru.mvista.com> Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] intel8x0 - Add ac97_quirk for Dell Inspiron 8600Karoly Lorentey2005-11-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: Intel8x0 driver Add AC97_TUNE_HP_ONLY quirk for Dell Inspiron 8600. Signed-off-by: Karoly Lorentey <lorentey@elte.hu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] AZT3328 driver updateAndreas Mohr2005-11-042-388/+728
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: AZT3328 driver this is now an even much more reworked patch (#3) for my azt3328.c ALSA driver. IOW I spent another 4 evenings to get the sequencer timer to work properly (my head is still hurting) and do lots of other cleanups. Note that despite the extensive sequencer timer additions, the driver object is still only 2kB bigger than the previous version, due to those many optimizations... Changes in version #3: - fully working ALSA sequencer timer support for the card's 1024000Hz DirectX timer (downscaling adjustable via seqtimer_scaling module param) - an insane amount of code optimizations - many, many cleanups Changes in version #2: - FOUND the 1us DirectX timer area (yay!), made the code respect it properly - renamed some 'weird' mixer control names according to ControlNames.txt - cleanup unneeded debug messages, reformatting - improved I/O register documentation - constified many more structs Changes in version #1: - improves/fixes some fatal playback/recording interaction - improves IRQ handler performance (and actually fixes some weird code) - coalesces some I/O accesses - slightly improves I/O interface documentation - improves/fixes logging - defines out some less important debug code - constifies some data Signed-off-by: Andreas Mohr <andi@lisas.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] Fix emu10k1 synth problems.Tim2005-11-042-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: EMU10K1/EMU10K2 driver,Common EMU synth This patch fixes problems with voices cutting off or not sounding at all. Signed-off-by: Tim <tedon@rogers.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] Fix a typo in the last fixTakashi Iwai2005-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Modules: ALSA Core Fix a typo (bogus check) in the last patch to fix Oops with suspend/resume. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] fix improper CONFIG_SND_MAJOR usageClemens Ladisch2005-11-043-16/+7
| | | | | | | | | | | | | | | | | | | | | | | | Modules: HWDEP Midlevel,PCM Midlevel,RawMidi Midlevel,ALSA Core Replace usage of CONFIG_SND_MAJOR with snd_major, where appropriate. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
| * | [ALSA] usb-audio: remove superfluous includeClemens Ladisch2005-11-041-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Modules: USB generic driver Remove a superfluous include of the sound/minors.h header. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
| * | [ALSA] clean up device types symbolsClemens Ladisch2005-11-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: ALSA Core,ALSA Minor Numbers Remove the unused and undefined symbols SNDRV_DEVICE_TYPE_{MIXER, PCM_PLOOP,PCM_CLOOP}, and introduce a new symbol SNDRV_MINOR_GLOBAL for non-card-specific devices like the sequencer or the timer. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
| * | [ALSA] Big kfree NULL check cleanup - soundJesper Juhl2005-11-042-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: AD1889 driver,RME9652 driver This is the sound/ part of the big kfree cleanup patch. Remove pointless checks for NULL prior to calling kfree() in sound/. Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] Fix schedule_timeout usageNishanth Aravamudan2005-11-0428-112/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use schedule_timeout_{,un}interruptible() instead of set_current_state()/schedule_timeout() to reduce kernel size. Also use human-time conversion functions instead of hard-coded division to avoid rounding issues. Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] intel8x0 - fix capture for M1563Wei Ni2005-11-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: Intel8x0 driver 1.In intel8x0_measure_ac97_clock routine, when stop DMA, there is not stop DMA corectly, but start another PCM In2 DMA engine. 2.In do_ali_reset routine, there is only need to enable PCM IN and PCM OUT. Signed-off-by: Jaroslav Kysela <perex@suse.cz>
| * | [ALSA] ca0106: Added copyright messages.James Courtier-Dutton2005-11-041-0/+2
| | | | | | | | | | | | | | | | | | Modules: CA0106 driver Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
| * | [ALSA] ca0106: Cosmetic changes.James Courtier-Dutton2005-11-043-20/+17
| | | | | | | | | | | | | | | | | | | | | | | | Modules: CA0106 driver Just tidying up the code. Making more functions static. Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
| * | [ALSA] Add missing KERN_* prefixTakashi Iwai2005-11-047-27/+29
| | | | | | | | | | | | | | | | | | | | | | | | Modules: ALSA<-OSS emulation,USB generic driver,USB USX2Y Added missing KERN_* prefix to printk. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] snd-ca0106: Add midi support.James Courtier-Dutton2005-11-046-5/+512
| | | | | | | | | | | | | | | | | | | | | | | | Modules: PCI drivers,CA0106 driver Author: Tilman Kranz <tilde@tk-sls.de> Signed-off-by: James Courtier-Dutton <James@superbug.co.uk>
| * | [ALSA] hdsp - Code clean upTakashi Iwai2005-11-041-371/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: RME HDSP driver - Add missing KERN_* suffix to printk. - Clean up parentheses. - clean up the firmware check code. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] Add missing KERN_* suffix to printkTakashi Iwai2005-11-0460-299/+299
| | | | | | | | | | | | | | | | | | Add missing KERN_* suffix to printk. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] Remove multi-card support for ali5451 and nm256Takashi Iwai2005-11-042-75/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: Documentation,ALI5451 driver,NM256 driver Removed multi-card supports for ali5451 and nm256 drivers. They are supposed to be a single device. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] Fix the type of enable module optionTakashi Iwai2005-11-047-7/+7
| | | | | | | | | | | | | | | | | | Fix the type of enable module option to bool. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] nm256: reset workaround for Latitude CSxJohn W. Linville2005-11-041-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: NM256 driver The current snd-nm256 driver can cause Dell Latitude CSx laptops to lock-up during module (un)load. I have isolated this to the writes to the control port register at offset 0x6cc which were not already protected by the existing reset_workaround. I tried grouping these writes with the existing reset_workaround clause, but that caused the driver to have (un)load problems on the Dell Latitude LS laptops. So, I have implemented a reset_workaround_2 clause (please feel free to suggest a better name!) to cover this situation and added a quirk entry for the CSx laptops. Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] ymfpci: change timer resolution to 48 kHzClemens Ladisch2005-11-041-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: YMFPCI driver We better pretend that the ymfpci timer runs at 48 kHz because the interrupt frequency cannot be higher, and clients that would try to use 96 kHz would run at half their desired speed. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
| * | [ALSA] seq-timer: restrict timer frequenciesClemens Ladisch2005-11-041-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: ALSA sequencer When no default timer frequency has been set, initialize_timer() just uses the maximum frequency supported by the timer, which is ridiculously high on 96 kHz timers. This patch introduces a default frequency of 1000 Hz for this case, and makes sure that a frequency set by the user isn't too high. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
| * | [ALSA] Fix maestro3 hang after cold bootCharles R. Anderson2005-11-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: Maestro3 driver This patch fixes the maestro3 driver to call the snd_m3_assp_init function to write the DSP firmware into the ASSP chip before sending the RUN_ASSP command, thereby solving the hang after a cold boot. Signed-off-by: Charles R. Anderson <cra@alum.wpi.edu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] intel8x0 - Fix handling of module parametersTakashi Iwai2005-11-041-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: Intel8x0 driver - Set buggy_irq parameter before registration of irq handler. - Clean up module parameter handling. Signed-off-by: Takashi Iwai <tiwai@suse.de>
| * | [ALSA] Reduce interrupt latency in sound/pci/via82xx.cKarsten Wiese2005-11-041-39/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modules: VIA82xx driver The change only affects the via823x kind of chips. Here the via8233_pcm_pointer_hw() function (named snd_via8233_pcm_pointer() before) needed to loop until a non zero position is red from the chip. Measurements have shown that more than 200 loops are typically needed on an Athlon64. As io-reads cost many cycles, those loops sum up huge. via8233_pcm_pointer_hw() runs either in interrupt or with interrupts disabled. So it introduces significant interrupt latency. The patch introduces a calculated position value hwptr_done, that is updated by the interrupt routine when a period is completed. It is only used, if the 823x chip returns a zero position, which can't be interpreted reliably. Further optimisation is applied on the 8233 chip's interrupt routine: Only the SGD_SHADOW is read, as it contains all infos needed. We ommit ~5 more register reads that way. Signed-off-by: Karsten Wiese <annabellesgarden@yahoo.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
OpenPOWER on IntegriCloud