This project is mirrored from https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git.
Pull mirroring updated .
- Jun 17, 2009
-
-
Arnd Bergmann authored
PIT_TICK_RATE is currently defined in four architectures, but in three different places. While linux/timex.h is not the perfect place for it, it is still a reasonable replacement for those drivers that traditionally use asm/timex.h to get CLOCK_TICK_RATE and expect it to be the PIT frequency. Note that for Alpha, the actual value changed from 1193182UL to 1193180UL. This is unlikely to make a difference, and probably can only improve accuracy. There was a discussion on the correct value of CLOCK_TICK_RATE a few years ago, after which every existing instance was getting changed to 1193182. According to the specification, it should be 1193181.818181... Signed-off-by:
Arnd Bergmann <arnd@arndb.de> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Len Brown <lenb@kernel.org> Cc: john stultz <johnstul@us.ibm.com> Cc: Dmitry Torokhov <dtor@mail.ru> Cc: Takashi Iwai <tiwai@suse.de> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
-
- Jun 16, 2009
-
-
Kay Sievers authored
This adds support to the sound core to report the proper device name to userspace for their devices. Signed-off-by:
Kay Sievers <kay.sievers@vrfy.org> Signed-off-by:
Jan Blunck <jblunck@suse.de> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
-
- Jun 15, 2009
-
-
Takashi Iwai authored
The PCM x-fi native update routine can cause deadlocks when the trigger(START) is called while the stream is running. This patch fixes the deadlock by just postponing the pcm period update to the next possible wake-up. Also it adds the flip of ti->running flag (just to be sure as now). Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
The PCM pointer callback sometimes returns invalid positions and this screws up the hw_ptr updater in PCM core. Especially since now the jiffies check is optional with xrun_debug, the invalid position is handled as is, and causes serious sound skips, etc. This patch simplifies the position-fix strategy in intel8x0 to be more robust: - just falls back to the last position if bogus position is detected - another sanity check for the backward move of the position due to a race of register update and the base-index update This patch is applicable also for 2.6.30. Tested-by:
David Miller <davem@davemloft.net> Cc: <stable@kernel.org> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Andrea Borgia authored
This patch changes yet again the ID for the TTA cards, resulting in a more reasonable name: 1 [Aureon51MkII ]: USB-Audio - Aureon5.1MkII TerraTec Aureon5.1MkII at usb-0000:00:03.0-2, full speed Signed-off-by:
Andrea Borgia <andrea@borgia.bo.it> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- Jun 14, 2009
-
-
Philipp Zabel authored
Follow-up fix needed since "ASoC: pxa-ssp.c fix clock/frame invert". Signed-off-by:
Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Mark Brown authored
With the recent changes to the DAPM power checks it has become important to explicitly instantiate all widgets but some drivers were forgetting to do that. Since everything needs to do it add a call to instantiate them immediately before the card registration - it does no harm when it is called repeatedly and saves work in drivers. Tested-by:
pHilipp Zabel <philipp.zabel@gmail.com> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
- Jun 13, 2009
-
-
Mark Brown authored
The Blackfin submission was done as a patch against a different tree and contained a duplicate hunk which will cause us to loose track of the substream pointers when shutting down. Remove one of the duplicated hunks. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
Takashi Iwai authored
Added model=acer-aspire-8930g for Acer Aspire 6935G (1025:0146). Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
The spinlock in atc can cause a sleep in lock: Kernel failure message 1: BUG: sleeping function called from invalid context at mm/slub.c:1599 in_atomic(): 0, irqs_disabled(): 1, pid: 2537, name: gstreamer-prope Pid: 2537, comm: gstreamer-prope Tainted: P 2.6.29.4-167.fc11.x86_64 #1 Call Trace: [<ffffffff8103ff0f>] __might_sleep+0x10b/0x110 [<ffffffff810cd734>] __kmalloc+0x73/0x130 [<ffffffffa0b4b142>] ? daio_rsc_init+0xaa/0x125 [snd_ctxfi] [<ffffffffa0b4b212>] dao_rsc_init+0x55/0x1c0 [snd_ctxfi] [<ffffffffa0b4b3d2>] dao_rsc_reinit+0x55/0x5d [snd_ctxfi] [<ffffffff813abd6c>] ? _spin_lock_irqsave+0x32/0x3b [<ffffffffa0b454fe>] atc_spdif_out_passthru+0x92/0x136 [snd_ctxfi] ... Since the lock path is no critical path, it can be gracefully replaced with a mutex. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- Jun 12, 2009
-
-
Mark Brown authored
These are not supported since performance can not be guaranteed when they are in use. Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@kernel.org
-
Chris Sanford authored
This is a trivial patch that removes an unnecessary void pointer cast. Signed-off-by:
Chris Sanford <crsanford@gmail.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
Martin Olsson authored
Signed-off-by:
Martin Olsson <martin@minimum.se> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
Martin Olsson authored
trivial: fix typos s/paramter/parameter/ and s/excute/execute/ in documentation and source comments. Signed-off-by:
Martin Olsson <martin@minimum.se> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
Thadeu Lima de Souza Cascardo authored
Signed-off-by:
Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
Viral Mehta authored
Just for the sake of readability, removing extra space Signed-off-by:
Viral Mehta <viral.mehta@einfochips.com> Signed-off-by:
Jiri Kosina <jkosina@suse.cz>
-
- Jun 11, 2009
-
-
Linus Walleij authored
I found the PrimeCell/AMBA Bus drivers distrusting the resource passed in as part of the struct amba_device abstraction. This patch removes all hard coded resource sizes found in the PrimeCell drivers and move the responsibility of this definition back to the platform/board device definition, which already exist and appear to be correct for all in-tree users of these drivers. We do this using the resource_size() inline function which was also replicated in the only driver using the resource size, so that has been changed too. The KMI_SIZE was left in kmi.h in case someone likes it. Test-compiled against Versatile and Integrator defconfigs, seems to work but I don't posess these boards and cannot test them. Signed-off-by:
Linus Walleij <linus.walleij@stericsson.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Tim Blechmann authored
trivial patch to support the alsa module parameters `index', `id' and `enable' Signed-off-by:
Tim Blechmann <tim@klingt.org> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Daniel Mack authored
alsamixer and friends want the mixername to be set. Even though the driver does not exports a real mixer device, export the name doesn't harm. Signed-off-by:
Daniel Mack <daniel@caiaq.de> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- Jun 10, 2009
-
-
Simos Xenitellis authored
A quirk is required for 8086:284b (rev 03) [Subsystem: 161f:2073]. The following has been tested with Alsa 1.0.20 (git master). Background details can be found at https://bugtrack.alsa-project.org/alsa-bug/view.php?id=4561 http://forum.ubuntu-gr.org/viewtopic.php?f=38&t=5290 Tested-by:
Theodora Iliopoulou <th30dr@gmail.com> Signed-off-by:
Simos Xenitellis <simos@gnome.org> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Kay Sievers authored
This moves the jack devices from the PCI device into the ALSA card device, which makes it easier for userspace to find all devices belonging to a specific card while granting access to logged-in users. Jack input devices from sound cards can now simply be matched with udev by doing: SUBSYSTEM="input", SUBSYSTEMS="sound", ... ls -l /sys/devices/pci0000:00/0000:00:1b.0/sound/card0 controlC0 device -> ../../../0000:00:1b.0 id input10 input11 input8 input9 number pcmC0D0c pcmC0D0p pcmC0D1p power subsystem -> ../../../../../class/sound uevent Cc: Lennart Poettering <lennart@0pointer.de> Signed-off-by:
Kay Sievers <kay.sievers@vrfy.org> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Geert Uytterhoeven authored
probe functions should be __devinit Signed-off-by:
Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Geert Uytterhoeven authored
Sort includes, and reorder code so we can kill the forward declarations No functional changes Signed-off-by:
Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Geert Uytterhoeven authored
Signed-off-by:
Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Mark Brown authored
Commit 4eaa9819 changed semantics of private_value member of kcontrol. This resulted in inability to control amplifier and subsequently in very low output volume. Tested-by:
Johannes Schauer <josch@pyneo.org> Signed-off-by:
Paul Fertser <fercerpav@gmail.com> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
-
- Jun 09, 2009
-
-
Takashi Iwai authored
Currently the PCM resources are allocated only once and ever in prepare callback, assuming that the PCM parameters are never changed. But it's not true. This patch adds the call of atc->pcm_release_resources() at hw_params and hw_free callbacks to assure that the PCM setup is done correctly for each h/w parameter changes. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
The SRC instances may not exist when PCM pointer callback is called at the state before initialization is finished. Add the NULL check just to be sure. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
- Jun 08, 2009
-
-
Takashi Iwai authored
Added use_system_timer module option to force to use the system timer instead of emu20k1 timer irq for debugging. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Dan Allongo authored
Added boot quirk for C-Media CM6206 device in snd_usb_audio_probe. The function snd_usb_cm6206_boot_quirk sets up six internal 16-bit registers in order to initialize the device. Values for the registers came from sniffing USB traffic under Windows since only four of the six are documented in the datasheet for CM106 and some reserved bits were also being set. [Minor coding-style fixes by tiwai] Signed-off-by:
Dan Allongo <gongo2k1@gmail.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
CTUAA should be checked instead of CTHENDRIX. The latter is for 20k2 chip. Also, fixed the detection of UAA/HENDRIX models by fixing the mask bits. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
Clean up probe routines and model detection routines so that the driver won't call and check the PCI subsystem id at each time. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
- Fix a typo in the patch - Adapted to follow the recent change for unsol event handling Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
David Heidelberger authored
Added 7.1 support for MSI GX620 and jack quirk. Reference: kernel bug#13430 http://bugzilla.kernel.org/show_bug.cgi?id=13430 Signed-off-by:
David Heidelberger <d.okias@gmail.com> Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
Use a common helper function for the PCM stream name displayed in XRUN and buffer-pointer debug prints. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
EFX playback stream should have periods_min = 2 to avoid the buffer position overflow (due to restrictions of the pcm-indirect helper). Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
- Clean up Hungarian coding style - Don't use static variables for I2C information; this unables to use multiple instances. Now they are stored in struct hw20k2 fields. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
Fix possible buffer pointer overruns. Back to zero when it's equal or over the buffer size. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
Remove useless variable initializations and cast at the beginning of functions. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-
Takashi Iwai authored
Allow 64bit DMA mask for emu20k2 chip, too. Signed-off-by:
Takashi Iwai <tiwai@suse.de>
-