- 16 10月, 2007 2 次提交
-
-
由 Trent Piepho 提交于
Add four mute controls for the analog output channels for cards that use an SPI DAC, like the SB0570 SB Live! 24-bit / Audigy SE. The Wolfson DAC doesn't support muting left/right so the controls are mono. The chip state struct gets a 32-byte array to act as a shadow of the spi dac registers. Only two registers are used for mute, but more would be needed for analog gain, de-emphasis, DAC power down, phase inversion, and other features. Signed-off-by: NTrent Piepho <xyzzy@speakeasy.org> Signed-off-by: NTakashi Iwai <tiwai@suse.de> Signed-off-by: NJaroslav Kysela <perex@suse.cz>
-
由 James Courtier-Dutton 提交于
Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk> Signed-off-by: NJaroslav Kysela <perex@suse.cz>
-
- 20 7月, 2007 1 次提交
-
-
由 James Courtier-Dutton 提交于
This card is just a normal SB Live 24bit, but under a different marketing name. Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk> Signed-off-by: NJaroslav Kysela <perex@suse.cz>
-
- 12 7月, 2007 1 次提交
-
-
由 Auke Kok 提交于
Instead of all drivers reading pci config space to get the revision ID, they can now use the pci_device->revision member. This exposes some issues where drivers where reading a word or a dword for the revision number, and adding useless error-handling around the read. Some drivers even just read it for no purpose of all. In devices where the revision ID is being copied over and used in what appears to be the equivalent of hotpath, I have left the copy code and the cached copy as not to influence the driver's performance. Compile tested with make all{yes,mod}config on x86_64 and i386. Signed-off-by: NAuke Kok <auke-jan.h.kok@intel.com> Acked-by: NDave Jones <davej@redhat.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
- 11 5月, 2007 1 次提交
-
-
由 Takashi Iwai 提交于
Added a new macro snd_pcm_group_for_each_entry() just for code cleanup. Old macros, snd_pcm_group_for_each() and snd_pcm_group_substream_entry(), are removed. Signed-off-by: NTakashi Iwai <tiwai@suse.de> Signed-off-by: NJaroslav Kysela <perex@suse.cz>
-
- 09 2月, 2007 2 次提交
-
-
由 Takashi Iwai 提交于
Added the missing device assignment before creating sysfs tree. This caused the insufficient device permissions. Signed-off-by: NTakashi Iwai <tiwai@suse.de> Signed-off-by: NJaroslav Kysela <perex@suse.cz>
-
由 James Courtier-Dutton 提交于
Fixes ALSA bug#2286 Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk> Signed-off-by: NJaroslav Kysela <perex@suse.cz>
-
- 20 12月, 2006 4 次提交
-
-
由 James Courtier-Dutton 提交于
Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk> Signed-off-by: NJaroslav Kysela <perex@suse.cz>
-
由 James Courtier-Dutton 提交于
Fixed ALSA bug#2326 Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk> Signed-off-by: NJaroslav Kysela <perex@suse.cz>
-
由 Takashi Iwai 提交于
Fix IRQ flags for PCI devices. The shared IRQs for PCI devices shouldn't be allocated with IRQF_DISABLED. Also, when MSI is enabled, IRQF_SHARED shouldn't be used. The patch removes unnecessary cast in request_irq and free_irq, too. Signed-off-by: NTakashi Iwai <tiwai@suse.de> Signed-off-by: NJaroslav Kysela <perex@suse.cz>
-
由 Takashi Iwai 提交于
Fix the type of PCI revision to char from int and avoid invalid assignment with pointer cast. Signed-off-by: NTakashi Iwai <tiwai@suse.de> Signed-off-by: NJaroslav Kysela <perex@suse.cz>
-
- 05 10月, 2006 1 次提交
-
-
由 David Howells 提交于
Maintain a per-CPU global "struct pt_regs *" variable which can be used instead of passing regs around manually through all ~1800 interrupt handlers in the Linux kernel. The regs pointer is used in few places, but it potentially costs both stack space and code to pass it around. On the FRV arch, removing the regs parameter from all the genirq function results in a 20% speed up of the IRQ exit path (ie: from leaving timer_interrupt() to leaving do_IRQ()). Where appropriate, an arch may override the generic storage facility and do something different with the variable. On FRV, for instance, the address is maintained in GR28 at all times inside the kernel as part of general exception handling. Having looked over the code, it appears that the parameter may be handed down through up to twenty or so layers of functions. Consider a USB character device attached to a USB hub, attached to a USB controller that posts its interrupts through a cascaded auxiliary interrupt controller. A character device driver may want to pass regs to the sysrq handler through the input layer which adds another few layers of parameter passing. I've build this code with allyesconfig for x86_64 and i386. I've runtested the main part of the code on FRV and i386, though I can't test most of the drivers. I've also done partial conversion for powerpc and MIPS - these at least compile with minimal configurations. This will affect all archs. Mostly the changes should be relatively easy. Take do_IRQ(), store the regs pointer at the beginning, saving the old one: struct pt_regs *old_regs = set_irq_regs(regs); And put the old one back at the end: set_irq_regs(old_regs); Don't pass regs through to generic_handle_irq() or __do_IRQ(). In timer_interrupt(), this sort of change will be necessary: - update_process_times(user_mode(regs)); - profile_tick(CPU_PROFILING, regs); + update_process_times(user_mode(get_irq_regs())); + profile_tick(CPU_PROFILING); I'd like to move update_process_times()'s use of get_irq_regs() into itself, except that i386, alone of the archs, uses something other than user_mode(). Some notes on the interrupt handling in the drivers: (*) input_dev() is now gone entirely. The regs pointer is no longer stored in the input_dev struct. (*) finish_unlinks() in drivers/usb/host/ohci-q.c needs checking. It does something different depending on whether it's been supplied with a regs pointer or not. (*) Various IRQ handler function pointers have been moved to type irq_handler_t. Signed-Off-By: NDavid Howells <dhowells@redhat.com> (cherry picked from 1b16e7ac850969f38b375e511e3fa2f474a33867 commit)
-
- 13 7月, 2006 1 次提交
-
-
由 Takashi Iwai 提交于
Fixed 'section mismatch' errors in ALSA PCI drivers: - removed invalid __devinitdata from pci id tables - fix/remove __devinit of functions called in suspend/resume Signed-off-by: NTakashi Iwai <tiwai@suse.de> Signed-off-by: NJaroslav Kysela <perex@suse.cz>
-
- 03 7月, 2006 1 次提交
-
-
由 Thomas Gleixner 提交于
Signed-off-by: NThomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Jaroslav Kysela <perex@suse.cz> Cc: Takashi Iwai <tiwai@suse.de> Signed-off-by: NAndrew Morton <akpm@osdl.org> Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
-
- 23 6月, 2006 3 次提交
-
-
由 James Courtier-Dutton 提交于
Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk>
-
由 James Courtier-Dutton 提交于
Fixed bug#1331 Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk>
-
由 James Courtier-Dutton 提交于
Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk>
-
- 28 4月, 2006 1 次提交
-
-
由 Henrik Kretzschmar 提交于
Signed-off-by: NHenrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 22 1月, 2006 1 次提交
-
-
由 James Courtier-Dutton 提交于
Modules: CA0106 driver Description: Shuttle XPC SD11G5 which has an onboard Creative Labs Sound Blaster Live! 24-bit EAX high-definition 7.1 audio processor'. Fixes ALSA bug#1600 Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk>
-
- 03 1月, 2006 6 次提交
-
-
由 James Courtier-Dutton 提交于
Modules: CA0106 driver Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk>
-
由 James Courtier-Dutton 提交于
Modules: CA0106 driver Fixes ALSA bug#1636 Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk>
-
由 Takashi Iwai 提交于
Optimize the code when compiled without CONFIG_PROC_FS for some pci drivers. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Modules: CA0106 driver Remove xxx_t typedefs from the PCI CA0106 driver. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Modules: CA0106 driver Clean up snd-ca0106 driver code: - Fix spaces and indents - Remove unnecessary spinlocks - Clean up the mixer callbacks using private_value - Clean up mixer constructors using an array Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
Remove superflous pcm_free callbacks. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 11 11月, 2005 1 次提交
-
-
由 Greg Kroah-Hartman 提交于
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
- 04 11月, 2005 4 次提交
-
-
由 James Courtier-Dutton 提交于
Modules: CA0106 driver Just tidying up the code. Making more functions static. Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk>
-
由 James Courtier-Dutton 提交于
Modules: PCI drivers,CA0106 driver Author: Tilman Kranz <tilde@tk-sls.de> Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk>
-
由 Takashi Iwai 提交于
Add missing KERN_* suffix to printk. Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Takashi Iwai 提交于
- Remove vmalloc wrapper - Add release_and_free_resource() to remove kfree_nocheck() from each driver and simplify the code Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
- 12 9月, 2005 2 次提交
-
-
由 Takashi Iwai 提交于
AD1889 driver,ATIIXP driver,ATIIXP-modem driver,AZT3328 driver BT87x driver,CMIPCI driver,CS4281 driver,ENS1370/1+ driver ES1938 driver,ES1968 driver,FM801 driver,Intel8x0 driver Intel8x0-modem driver,Maestro3 driver,SonicVibes driver,VIA82xx driver VIA82xx-modem driver,AC97 Codec,AK4531 codec,au88x0 driver CA0106 driver,CS46xx driver,EMU10K1/EMU10K2 driver,HDA Codec driver HDA generic driver,HDA Intel driver,ICE1712 driver,ICE1724 driver KORG1212 driver,MIXART driver,NM256 driver,Trident driver,YMFPCI driver Replace kcalloc(1,..) with kzalloc(). Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 James Courtier-Dutton 提交于
CA0106 driver,EMU10K1/EMU10K2 driver A thread appeared on the LKML. This patch implements the fix. Question: in sysfs, /sys/bus/*/drivers lists the driver names, with their exported .name (eg. '.name = 'EMU10K1_Audigy'' in the module code, from now on 'driver name'). In /sys/modules, the kernel modules are listed with their module name, eg. snd_emu10k1. However, it seems to me that in sysfs, there is no way in particular to tell, which module has which .name. That is, that snd_emu10k1 is EMU10K1_Audigy and vice versa. I wonder whether it wouldn't be possible to add a symlink to the particular module from the driver, and/or from the module to the driver, so the list of devices handled by the module and the module name would be accessible. This way, I would know which driver name corresponds to which module name and vice versa. Answer: For PCI drivers, just add the line: .owner = THIS_MODULE, to their struct pci_driver definition and you will get the symlink created for you. Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk>
-
- 30 8月, 2005 1 次提交
-
-
由 James Courtier-Dutton 提交于
CA0106 driver Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk>
-
- 22 6月, 2005 6 次提交
-
-
由 James Courtier-Dutton 提交于
CA0106 driver Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk>
-
由 Jesper Juhl 提交于
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: NJesper Juhl <juhl-lkml@dif.dk> Signed-off-by: NTakashi Iwai <tiwai@suse.de>
-
由 Tobias Klauser 提交于
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: NTobias Klauser <tklauser@nuerscht.ch> Signed-off-by: NDomen Puncer <domen@coderock.org> Signed-off-by: NJaroslav Kysela <perex@suse.cz>
-
由 James Courtier-Dutton 提交于
CA0106 driver Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk>
-
由 James Courtier-Dutton 提交于
CA0106 driver Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk>
-
由 James Courtier-Dutton 提交于
CA0106 driver Notes: MIC capture not tested yet. Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk>
-
- 29 5月, 2005 1 次提交
-
-
由 James Courtier-Dutton 提交于
CA0106 driver Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk>
-