31 Dec, 2008
1 commit
-
…l/git/tip/linux-2.6-tip
* 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
hrtimers: fix warning in kernel/hrtimer.c
x86: make sure we really have an hpet mapping before using it
x86: enable HPET on Fujitsu u9200
linux/timex.h: cleanup for userspace
posix-timers: simplify de_thread()->exit_itimers() path
posix-timers: check ->it_signal instead of ->it_pid to validate the timer
posix-timers: use "struct pid*" instead of "struct task_struct*"
nohz: suppress needless timer reprogramming
clocksource, acpi_pm.c: put acpi_pm_read_slow() under CONFIG_PCI
nohz: no softirq pending warnings for offline cpus
hrtimer: removing all ur callback modes, fix
hrtimer: removing all ur callback modes, fix hotplug
hrtimer: removing all ur callback modes
x86: correct link to HPET timer specification
rtc-cmos: export second NVRAM bankFixed up conflicts in sound/drivers/pcsp/pcsp.c and sound/core/hrtimer.c
manually.
25 Dec, 2008
1 commit
21 Dec, 2008
1 commit
18 Dec, 2008
1 commit
-
Replace all tasklet_hi_schedule() callers with the normal
tasklet_schedule(). The former often causes troubles with
RT-kernels, and has actually no merit.Signed-off-by: Takashi Iwai
28 Nov, 2008
1 commit
-
It's mature enough now.
Signed-off-by: Takashi Iwai
26 Nov, 2008
2 commits
-
With the callback mode HRTIMER_CB_IRQSAFE_UNLOCK, the start of the
stream with zero delay doesn't work. Since IRQSAFE mode is removed,
we have to change the pcsp start-up code.This patch splits the callback function to two parts, the triggering
of the port and the calculation of the expire time, and the update of
the ALSA PCM core. The first part is called both from the trigger-start
and the hrtimer callback while the latter is handled only in the
hrtimer callback.Signed-off-by: Takashi Iwai
-
Conflicts:
sound/drivers/pcsp/pcsp_lib.c
25 Nov, 2008
1 commit
-
Impact: cleanup, move all hrtimer processing into hardirq context
This is an attempt at removing some of the hrtimer complexity by
reducing the number of callback modes to 1.This means that all hrtimer callback functions will be ran from HARD-irq
context.I went through all the 30 odd hrtimer callback functions in the kernel
and saw only one that I'm not quite sure of, which is the one in
net/can/bcm.c - hence I'm CC-ing the folks responsible for that code.Furthermore, the hrtimer core now calls callbacks directly with IRQs
disabled in case you try to enqueue an expired timer. If this timer is a
periodic timer (which should use hrtimer_forward() to advance its time)
then it might be possible to end up in an inf. recursive loop due to the
fact that hrtimer_forward() doesn't round up to the next timer
granularity, and therefore keeps on calling the callback - obviously
this needs a fix.Aside from that, this seems to compile and actually boot on my dual core
test box - although I'm sure there are some bugs in, me not hitting any
makes me certain :-)Signed-off-by: Peter Zijlstra
Signed-off-by: Ingo Molnar
14 Nov, 2008
1 commit
-
HRTIMER_CB_IRQSAFE was removed in the upstream.
Try to use HRTIMER_CB_IRQSAFE_UNLOCKED instead.Signed-off-by: Takashi Iwai
07 Nov, 2008
1 commit
04 Nov, 2008
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6:
ALSA: hda: make a STAC_DELL_EQ option
ALSA: emu10k1 - Add more invert_shared_spdif flag to Audigy models
ALSA: hda - Add a quirk for another Acer Aspire (1025:0090)
ALSA: remove direct access of dev->bus_id in sound/isa/*
sound: struct device - replace bus_id with dev_name(), dev_set_name()
ALSA: Fix PIT lockup on some chipsets when using the PC-Speaker
ALSA: rawmidi - Add open check in rawmidi callbacks
ALSA: hda - Add digital-mic for ALC269 auto-probe mode
ALSA: hda - Disable broken mic auto-muting in Realtek codes
03 Nov, 2008
2 commits
-
[stripped sound/isa/* changes, replaced with the next patch -- tiwai]
Signed-off-by: Kay Sievers
Signed-off-by: Takashi Iwai -
Fix PIT lockup on some chipsets when using the PC-Speaker.
Signed-off-by: Zoltan Devai
Signed-off-by: Takashi Iwai
27 Oct, 2008
1 commit
22 Oct, 2008
1 commit
-
Conflicts:
kernel/time/tick-sched.c
Signed-off-by: Thomas Gleixner
20 Oct, 2008
1 commit
-
snd-pcsp driver takes chip->substream_lock together with PCM substream
lock. These are even mixed up with hrtimer's lock, resulting in messy
lock depencies. Right now, snd-pcsp driver resolves the deadlock by
using HRTIMER_CB_SOFTIRQ. However, this isn't nice for a really fast
path like bit-flipping.This patch introduces a tasklet for PCM period handling so that the
hrtimer callback can be handled fast. This also reduce the use of
chip->substream_lock to avoid deadlocks. It's still used in pointer
callback, but even this could be removed with a proper barrier.Another good solution is to introduce async trigger callback. But,
this will involve with a major rewrite of the PCM core code, so I
take first this easy fix.Signed-off-by: Takashi Iwai
19 Oct, 2008
1 commit
-
Fixed typos in disabled codes via #if 0.
Signed-off-by: Mariusz Kozlowski
Signed-off-by: Takashi Iwai
18 Oct, 2008
1 commit
-
Conflicts:
arch/x86/kvm/i8254.c
10 Oct, 2008
1 commit
-
Ingo reported Oops at probing mtpav driver. It's a race between
the irq handler and the rawmidi instance registration.This patch fixes the order of registration to avoid the race.
Signed-off-by: Takashi Iwai
Tested-by: Ingo Molnar
Signed-off-by: Jaroslav Kysela
06 Sep, 2008
1 commit
-
In order to be able to do range hrtimers we need to use accessor functions
to the "expire" member of the hrtimer struct.
This patch converts sound/ to these accessors.Signed-off-by: Arjan van de Ven
15 Aug, 2008
2 commits
-
checkpatch.pl does not like assignment in if condition
Signed-off-by: Jaroslav Kysela
-
The dummy driver uses runtime->private_free but still frees
its pcm structures on error paths.This is esoteric because the error paths in question are
unreachable. Thus the bug is only a problem when someone
copies this code into other drivers.Signed-off-by: Daniel R Thompson
Signed-off-by: Jaroslav Kysela
13 Aug, 2008
1 commit
-
Kill snd_assert() in other places, either removed or replaced with
if () with snd_BUG_ON().Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
15 Jul, 2008
1 commit
-
Conflicts:
sound/pci/Kconfig
10 Jul, 2008
3 commits
-
Fix a const pointer usage warning in the Digigram VX soundcard driver. A
const pointer is being passed to copy_from_user() to load the firmware into.
This is okay in this case because the function has allocated the firmware
struct itself, but the const qualifier will be part of the firmware
struct - so the patch casts the const away.Signed-off-by: David Howells
Signed-off-by: David Woodhouse -
Signed-off-by: David Woodhouse
-
Fix a const pointer usage warning in the Digigram VX soundcard driver. A
const pointer is being passed to copy_from_user() to load the firmware into.
This is okay in this case because the function has allocated the firmware
struct itself, but the const qualifier is part of the firmware struct - so the
patch casts the const away.Signed-off-by: David Howells
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
27 May, 2008
2 commits
-
The kconfig items related with AC97-powersave must be outside the
CONFIG_SND_PCI range. And it'd be better together with CONFIG_SND_AC97.Signed-off-by: Takashi Iwai
-
Convert menu in sound Kconfig files to menuconfig and if.
Signed-off-by: Takashi Iwai
26 May, 2008
1 commit
-
This solves the problem with mixers wrongly displaying the PWM freq.
Signed-off-by: Stas Sergeev
Signed-off-by: Takashi Iwai
20 May, 2008
1 commit
-
Change HRTIMER_CB_IRQSAFE to HRTIMER_CB_SOFTIRQ,
as suggested by Thomas Gleixner.
That solves the lock dependancy reported in
Bug #10701.
That also allows to call hrtimer_start()
directly, tasklet "stupid hack" removed.Signed-off-by: Stas Sergeev
Acked-by: Thomas Gleixner
Signed-off-by: Takashi Iwai
19 May, 2008
5 commits
-
Enable VMASTER for VT1616 / VT1617A codec.
Signed-off-by: Daniel Jacobowitz
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
It appears that alsa allows a sound buffer with size not
evenly devided by the period size. This triggers a warning in
snd-pcsp and floods the log. As a quick fix, the warning should
be disabled.Signed-off-by: Stas Sergeev
Signed-off-by: Takashi Iwai -
Considering all the feedbacks I got, depending snd-pcsp on
CONFIG_EXPERIMENTAL looks like the only safe way to get out
of all the troubles at one go. :)Signed-off-by: Stas Sergeev
Signed-off-by: Takashi Iwai -
The attached patch adds back the compatibility code, allowing the
driver to work with older alsa-libs.
The removal was premature, it breaks the real-life configs.Signed-off-by: Stas Sergeev
Signed-off-by: Takashi Iwai -
Added the warning text to the help of snd-pcsp about the possible problem
with this driver so that user can know of the problem in advance.Also, removed the obsoleted text about ancient pc-speaker patch in
CONFIG_SOUND help.Signed-off-by: Stas Sergeev
Signed-off-by: Takashi Iwai
07 May, 2008
1 commit
-
fix pcspkr dependancies: make the pcspkr platform
drivers to depend on a platform device, and
not the other way around.Signed-off-by: Stas Sergeev
Acked-by: Thomas Gleixner
Acked-by: Dmitry Torokhov
CC: Vojtech Pavlik
CC: Michael Opdenacker
[fixed for 2.6.26-rc1 by tiwai]
Signed-off-by: Takashi Iwai
05 May, 2008
1 commit
-
sound/drivers/pcsp/pcsp.c: In function 'pcsp_suspend':
sound/drivers/pcsp/pcsp.c:201: error: implicit declaration of function 'snd_pcm_suspend_all'Signed-off-by: Johann Felix Soden
CC: Stas Sergeev
Signed-off-by: Takashi Iwai
30 Apr, 2008
2 commits
-
Added the missing dependency and select for snd-pcsp driver.
Signed-off-by: Takashi Iwai
-
Added MPU401_INFO_NO_ACK bitflag to ignore the ACK check for UART
commands. VT172x doesn't handle ACK commands, for example.Tested-by: Pavel Hofman
Signed-off-by: Takashi Iwai