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
4 commits
-
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
24 Apr, 2008
15 commits
-
Define some MPU401 registers in sound/mpu401_uart.h so that other
drivers can refer to them.Signed-off-by: Takashi Iwai
-
Signed-off-by: Stas Sergeev
(fixed invalid KERN_WARNING by tiwai)
Signed-off-by: Takashi Iwai -
Added the proper dependency to Kconfig for snd-pcsp driver.
Signed-off-by: Takashi Iwai
-
bps is unsigned, a negative snd_pcm_format_width() return value is not noticed
Signed-off-by: Roel Kluin
Signed-off-by: Takashi Iwai -
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable sound
platform drivers, to re-enable auto loading.[dbrownell@users.sourceforge.net: more drivers, registration fixes]
Signed-off-by: Kay Sievers
Signed-off-by: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Takashi Iwai -
pcsp: remove S16->U8 downsampling as dmix now supports U8 natively.
Signed-off-by: Stas Sergeev
Signed-off-by: Takashi Iwai -
sound/drivers/pcsp/pcsp.c: In function 'snd_pcsp_create':
sound/drivers/pcsp/pcsp.c:54: error: 'loops_per_jiffy' undeclared (first use in\ this function)
sound/drivers/pcsp/pcsp.c:54: error: (Each undeclared identifier is reported on\ ly once
sound/drivers/pcsp/pcsp.c:54: error: for each function it appears in.)Signed-off-by: Mariusz Kozlowski
Signed-off-by: Andrew Morton
Signed-off-by: Takashi Iwai -
We want to have snd_card_set_dev() in _probe(), but not a second one in
snd_ml403_ac97cr_create().Signed-off-by: Joachim Foerster
Signed-off-by: Takashi Iwai -
pcsp: locking fix.
Signed-off-by: Stas Sergeev
Signed-off-by: Takashi Iwai -
Simplify init code.
Signed-off-by: Stas Sergeev
Signed-off-by: Takashi Iwai -
- make pcsp_start_timer_tasklet static
- remove redundant includes. is not available on all platforms.Signed-off-by: Stas Sergeev
Signed-off-by: Takashi Iwai -
Added PC-speaker sound driver (snd-pcsp).
Signed-off-by: Stas Sergeev
Signed-off-by: Takashi Iwai -
when the time interval for a period is smaller than kernel HZ, then
snd-aloop and snd-dummy cannot call snd_pcm_period_elapsed as fast enough
annymore. this happens for example with games. but the app still needs to
see, that the buffer actually did go further, which is provided by these
patches.Signed-off-by: Ahmet İnan mathematik.uni-freiburg.de>
Signed-off-by: Takashi Iwai -
Reduce the number of times to check for a non-empty Tx FIFO from 100 to
2 because there is no MPU-401 implementation that needs more than one or
two reads to determine the actual FIFO status.Signed-off-by: Clemens Ladisch
-
Signed-off-by: Ahmet İnan mathematik.uni-freiburg.de>
Signed-off-by: Takashi Iwai
23 Feb, 2008
1 commit
-
Add proper ifdef's to the patch loading code moved from the old instr
layer so that opl3 driver can be compiled without the sequencer support.Signed-off-by: Takashi Iwai
Signed-off-by: Linus Torvalds
01 Feb, 2008
12 commits
-
Fix section mismatches in mts64 by making a static variable __devinitdata.
WARNING: vmlinux.o(.data+0x2e33f0): Section mismatch: reference to .init.data:mts64_ctl_smpte_switch (between 'control.19929' and 'snd_mts64_rawmidi_output_ops')
WARNING: vmlinux.o(.data+0x2e33f8): Section mismatch: reference to .init.data:mts64_ctl_smpte_time_hours (between 'control.19929' and 'snd_mts64_rawmidi_output_ops')
WARNING: vmlinux.o(.data+0x2e3400): Section mismatch: reference to .init.data:mts64_ctl_smpte_time_minutes (between 'control.19929' and 'snd_mts64_rawmidi_output_ops')
WARNING: vmlinux.o(.data+0x2e3408): Section mismatch: reference to .init.data:mts64_ctl_smpte_time_seconds (between 'control.19929' and 'snd_mts64_rawmidi_output_ops')
WARNING: vmlinux.o(.data+0x2e3410): Section mismatch: reference to .init.data:mts64_ctl_smpte_time_frames (between 'control.19929' and 'snd_mts64_rawmidi_output_ops')
WARNING: vmlinux.o(.data+0x2e3418): Section mismatch: reference to .init.data:mts64_ctl_smpte_fps (between 'control.19929' and 'snd_mts64_rawmidi_output_ops')Signed-off-by: Randy Dunlap
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
This header file exists only for some hacks to adapt alsa-driver
tree. It's useless for building in the kernel. Let's move a few
lines in it to sound/core.h and remove it.
With this patch, sound/driver.h isn't removed but has just a single
compile warning to include it. This should be really killed in
future.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
The functions time_before, time_before_eq, time_after, and time_after_eq
are more robust for comparing jiffies against other values.
A simplified version of the semantic patch making this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)
//
@ change_compare_np @
expression E;
@@
(
- jiffies = E
+ time_after_eq(jiffies,E)
|
- jiffies < E
+ time_before(jiffies,E)
|
- jiffies > E
+ time_after(jiffies,E)
)
@ include depends on change_compare_np @
@@
#include
@ no_include depends on !include && change_compare_np @
@@
#include
+ #include
//Signed-off-by: Julia Lawall
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Signed-off-by: Joe Perches
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Added the missing call of snd_card_set_dev() in drivers/*
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Check the value ranges in ctl put callbacks properly (in the rest drivers).
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Check the value ranges in ctl put callbacks in vxpocket driver.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
We have to do fairly accurate counting of the minimal periods, instead
of being lazy and just setting the number to zero as soon as one period
elapses.Signed-off-by: Joachim Foerster
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Add ALSA support for the opb_ac97_controller_ref_v1_00_a ip core found
in Xilinx' ML403 reference design.
Known issue: Currently this driver hits a WARN_ON_ONCE(1) statement in
kernel/irq/resend.c (line 70). According to Linus
(http://lkml.org/lkml/2007/8/5/5) this may be ignored, right? I haven't
had a look into this 'problem' yet.Signed-off-by: Joachim Foerster
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
I applied a wrong patch for 'opl3 - simplify exclusive access lock'.
Fixed now.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Use the exclusive access lock in hwdep instead of the own one.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Use the hwdep device for loading OPL2/3 patch data instead of the
messy sequencer instrument layer.
Due to this change, the sbiload program should be updated, too.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
21 Nov, 2007
1 commit
-
Reported by Ingo Molnar,
when booting an allyesconfig bzImage kernel the bootup hangs in the
portman2x4 driver (on a box that does not have this hardware), at:
Pid: 1, comm: swapper
EIP: 0060:[] CPU: 0
EIP is at parport_pc_read_status+0x4/0x8
EFLAGS: 00000202 Not tainted (2.6.23-rc9 #904)
EAX: f7e57a7f EBX: 00000010 ECX: c2b808c0 EDX: 00000379
ESI: f7cb8230 EDI: 00000010 EBP: f7cb8230 DS: 007b ES: 007b FS: 0000
CR0: 8005003b CR2: fff9c000 CR3: 007ec000 CR4: 00000690
DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
DR6: ffff0ff0 DR7: 00000400
[] portman_flush_input+0xde/0x12c
[] snd_portman_probe+0x368/0x484
[] __device_attach+0x0/0x8
[] platform_drv_probe+0xc/0x10
[] driver_probe_device+0x74/0x194
[] klist_next+0x38/0x70
[] __device_attach+0x0/0x8
[] bus_for_each_drv+0x35/0x68
[] device_attach+0x72/0x78
the reason is due to an inconsistent error return code of 1 or 2, while
snd_portman_probe only realizes negative error codes.Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
20 Nov, 2007
1 commit
-
When the output and input ports are used at the same time, the timer can
be interrupted by the hardware interrupt, so we have to disable
interrupts when we take a lock in the timer.Signed-off-by: Clemens Ladisch
Signed-off-by: Jaroslav Kysela