18 Jul, 2007
5 commits
-
Fixes the following build error:
CC sound/pci/mixart/mixart_hwdep.o
sound/pci/mixart/mixart_hwdep.c: In function ‘mixart_hwdep_dsp_load’:
sound/pci/mixart/mixart_hwdep.c:610: error: implicit declaration of function ‘vmalloc’
sound/pci/mixart/mixart_hwdep.c:617: error: implicit declaration of function ‘vfree’Signed-off-by: Frank Lichtenheld
Signed-off-by: Linus Torvalds -
This patch contains the scheduled removal of options depending on
OSS_OBSOLETE.Signed-off-by: Adrian Bunk
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Signed-off-by: Muli Ben-Yehuda
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
trident_write_voice_regs() was getting called with the card spinlock held in
only some cases. Fix it.Explanation: we allocate a new virtual channel in open, and then we frob some
hardware registers (in write_voice_regs) for that channel. But the hardware
registers are shared with other channels, which may be trying to frob the some
registers (albeit for another channel) via ioctl(SNDCTL_DSP_SPEED).Fixed bugzilla.kernel.org bug #8172 (http://bugme.osdl.org/show_bug.cgi?id=8172)
Signed-off-by: Muli Ben-Yehuda
Cc:
Cc:
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Signed-off-by: Muli Ben-Yehuda
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
17 Jul, 2007
3 commits
-
Make some offending drivers depend on it and set CONFIG_ARCH_NO_VIRT_TO_BUS
for ppc64 so that we don't build those drivers.This gets PowerPC allmodconfig and allyesconfig much closer to building.
Signed-off-by: Stephen Rothwell
Cc: Al Viro
Acked-by: David Miller
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Fix these:
sound/oss/mpu401.c: In function 'attach_mpu401':
sound/oss/mpu401.c:1006: warning: cast to pointer from integer of different size
sound/oss/mpu401.c:1115: warning: cast to pointer from integer of different size
sound/oss/mpu401.c: In function 'unload_mpu401':
sound/oss/mpu401.c:1230: warning: cast to pointer from integer of different sizeby making it implement the request_irq()/free_irq() cookies correctly.
Cc: Jaroslav Kysela
Cc: Takashi Iwai
Cc: Alan Cox
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
This patch contains the scheduled removal of OSS drivers that:
- have ALSA drivers for the same hardware without known regressions and
- whose Kconfig options have been removed in 2.6.20.Signed-off-by: Adrian Bunk
Acked-by: Jeff Garzik
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
12 Jul, 2007
1 commit
-
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: Auke Kok
Acked-by: Dave Jones
Signed-off-by: Greg Kroah-Hartman
10 Jul, 2007
1 commit
-
In preparation for struct class_device -> struct device input
core conversion, switch to using input_dev->dev.parent when
specifying device position in sysfs tree.Also, do not access input_dev->private directly, use helpers.
Signed-off-by: Dmitry Torokhov
02 Jul, 2007
2 commits
-
The PXA CKEN changes broken syspend/resume on the pxa27x. This patch
corrects the problem and fixes another couple of bad references.Signed-off-by: Richard Purdie
Signed-off-by: Russell King -
Fix section mismatch warnings:
WARNING: sound/built-in.o(.exit.text+0x3ad): Section mismatch: reference to .init.text: (between 'sb_exit' and 'unload_uart6850')
WARNING: sound/built-in.o(.exit.text+0x753): Section mismatch: reference to .init.text: (between 'snd_mts64_module_exit' and 'snd_portman_module_exit')Signed-off-by: Randy Dunlap
Cc: Jaroslav Kysela
Cc: Takashi Iwai
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
29 Jun, 2007
2 commits
-
Change __devexit to __devexit_p:
sound/isa/opl3sa2.c:956: error: expected expression before '__attribute__'Signed-off-by: Randy Dunlap
Cc: Jaroslav Kysela
Cc: Takashi Iwai
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Cannot mix const and __initdata:
sound/pci/ice1712/prodigy192.c:708: error: ak4114_controls causes a section type conflictSigned-off-by: Randy Dunlap
Cc: Jaroslav Kysela
Cc: Takashi Iwai
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
19 Jun, 2007
1 commit
-
The old snd-powermac driver has some serious refcounting issues when
initialisation fails, which is the case on all new machines with
a layout-id since those are handled by the new snd-aoa driver.Some of those bugs seem to have been under the radar for some time
(like double pci_dev_put), but one was actually added in 2.6.22 with
Stephen attempt at teaching refcounting to the driver which didn't
do it at all.This patch fixes both, thus removing all sort of kref errors that
would happen if that driver gets loaded on a G5 machine or a recent
PowerBook due to OF nodes left around with a 0 refcount.Signed-off-by: Benjamin Herrenschmidt
Signed-off-by: Paul Mackerras
01 Jun, 2007
1 commit
-
I have made a tool to parse the kernel that does not pre-process the
source. That means that my parser tries to parse all the code, including
code in the #else branch or code that is not often compiled because the
driver is not very used (or not used at all). So, my parser sometimes
reports parse error not originally detected by gcc. Here is my (first)
patch.[akpm@linux-foundation.org: fix amd8111e.c]
Signed-off-by: Yoann Padioleau
Acked-by: Matthew Wilcox
Acked-by: Wim Van Sebroeck
Acked-by: David Woodhouse
Acked-by: Jeff Garzik
Acked-by: James Bottomley
Cc: Russell King
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
31 May, 2007
13 commits
-
STAC922x provides the capture boost level up to 4, but actually it
works only up to 2. Since the range of the mixer is automatically
defined from amp-capability bits, we need to override the value
beforehand. snd_hda_override_amp_caps() is introduced for this
purpose.
The function patch_stac922x() calls this for NID 0x12 (Mux Capture
Volume). This should fix another recording problem on Intel Macs.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The recent fix for STAC92xx surround outputs broke the input pin
setting for shared line-in and mic jacks. This patch fixes the
breakage.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fix pin default configs for speaker associations and sequence
for Gateway MX6453 machine with STAC925x codecs.Signed-off-by: Steve Longerbeam
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch adds the MSI K9N Ultra system to the realtek patch.
Signed-off-by: Tobin Davis
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Tested and verified in #alsa/Freenode on Tuesday, May 29, 2007.
Signed-off-by: Daniel T Chen
Signed-off-by: crimsun@Box.ncat.edu
Signed-off-by: Jaroslav Kysela -
Add a quirk for MSI S420 (based on a guess work).
From: Baruch EvenSigned-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This should fix a spinlock lockup bug on the s3c24xx arch.
From: Zoltan DevaiSigned-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Commit f32610edab47f36946d23b883aeae91e15986121 added ALC660VD support, but
this caused a 2.6.21 regression for some users. The ASUS M2V device is
now detected as ALC660VD rather than ALC660/861 but the PCI quirk was not
carried over.
This patch allows affected users to use audio again.
http://bugzilla.kernel.org/show_bug.cgi?id=8273
https://bugs.gentoo.org/show_bug.cgi?id=178243Signed-off-by: Daniel Drake
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Reported by Eric Sesterhenn.
Fix the wrong checks of extra voice pointer, which may cause NULL
dereferences.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch adds support for the ASUS A8J Series 56k Modem (Motorola SM56)
Signed-off-by: Christian Rothlaender
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch fixes an automute code issue for systems that do not rely
on eapd support.Signed-off-by: Tobin Davis
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch adds more Dell systems and a Panasonic laptop with
STAC9200 codecs.Signed-off-by: Tobin Davis
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch adds support for the Gateway NX860 system.
Signed-off-by: Tobin Davis
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
22 May, 2007
1 commit
-
First thing mm.h does is including sched.h solely for can_do_mlock() inline
function which has "current" dereference inside. By dealing with can_do_mlock()
mm.h can be detached from sched.h which is good. See below, why.This patch
a) removes unconditional inclusion of sched.h from mm.h
b) makes can_do_mlock() normal function in mm/mlock.c
c) exports can_do_mlock() to not break compilation
d) adds sched.h inclusions back to files that were getting it indirectly.
e) adds less bloated headers to some files (asm/signal.h, jiffies.h) that were
getting them indirectlyNet result is:
a) mm.h users would get less code to open, read, preprocess, parse, ... if
they don't need sched.h
b) sched.h stops being dependency for significant number of files:
on x86_64 allmodconfig touching sched.h results in recompile of 4083 files,
after patch it's only 3744 (-8.3%).Cross-compile tested on
all arm defconfigs, all mips defconfigs, all powerpc defconfigs,
alpha alpha-up
arm
i386 i386-up i386-defconfig i386-allnoconfig
ia64 ia64-up
m68k
mips
parisc parisc-up
powerpc powerpc-up
s390 s390-up
sparc sparc-up
sparc64 sparc64-up
um-x86_64
x86_64 x86_64-up x86_64-defconfig x86_64-allnoconfigas well as my two usual configs.
Signed-off-by: Alexey Dobriyan
Signed-off-by: Linus Torvalds
16 May, 2007
8 commits
-
This patch makes sure that short USB replies are treated as an
error when requesting the value of a certain mixer control.Signed-off-by: Thomas Reitmayr
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Included is a patch against current alsa-kernel hg tip adding
quirks that Ubuntu Dapper/Edgy/Feisty contains.Signed-off-by: Daniel T Chen
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
isa_register_driver() returns an error if no device is found
and it's no fatal error for the drivers with pnp support.Signed-off-by: Rene Herman
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fixed some platform no sound and Add JD Function for below platform list:
Sony(0x104d) 0x9015, 0x900e, 0x1f00
Toshiba(0x1179) DALLAS 0xff00, 0xff01
Targa(0x1462) 0x28fb
Asus(0x1043) A7J 0x060d
Lenovo(0x17aa) 0x3bfd, 0x2085
MEDION(0x17c0) MD2 0x4071Signed-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch fixes a bug whereby AC97 bus device data was being clobbered
when AC97 codecs using the generic ac97_codec.c driver were being
registered. Codecs that didn't use the generic driver were unaffected
(e.g. WM9712, WM9713).
Changes:-
o Add new AC97 codec class for custom (or need bus dev registration)
AC97 codecs.
o Only register/deregister this custom codec device with the AC97 bus.
The generic AC97 driver already does this for generic codec devices.
This may be related to bug #3038 :-
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3038Signed-off-by: Liam Girdwood
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch fixes a bug whereby the GPL'ed symbol ac97_dai was being
declared as static.Signed-off-by: Liam Girdwood
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
In some cases, mixer elements return -EINVAL because it couldn't
obtain proper amp_cap bits. The patch improves the robustness,
trying the amp_cap query again in such a case.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This patch adds the ID for another quickcam microphone, reported by freqmod
on ALSA ticket #0003040
I'm going to submit a USB patch separately to provide a macro to simplify these
entries, as suggested by Alan Stern. We could switch to using that in future.Signed-off-by: Daniel Drake
Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela
11 May, 2007
2 commits
-
Some verb tables (such as an Asus VT sent by IDT) contain only speaker
outs in the default pin configs, and no line-outs. In such a case the
speaker sequence numbers have to be used to order the speaker out
pins, just as is being done for line-out pins. Then, when speaker-outs
are copied to line-outs, the line-outs will be ordered properly.Signed-off-by: Steve Longerbeam
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
- Added ALC861VD Lenovo support (17aa:3802, 17aa:2066)
- Modify alc_subsystem_idSigned-off-by: Kailang Yang
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela