19 Dec, 2011
1 commit
-
module_param(bool) used to counter-intuitively take an int. In
fddd5201 (mid-2009) we allowed bool or int/unsigned int using a messy
trick.It's time to remove the int/unsigned int option. For this version
it'll simply give a warning, but it'll break next kernel version.Signed-off-by: Rusty Russell
Signed-off-by: Takashi Iwai
01 Nov, 2011
1 commit
-
The implicit presence of module.h lured several users into
incorrectly thinking that they only needed/used modparam.h
but once we clean up the module.h presence, these will show
up as build failures, so fix 'em now.Signed-off-by: Paul Gortmaker
03 Feb, 2010
1 commit
-
This is a cleanup for the dummy driver. The model kernel module parameter
is introduced to select the soundcard emulation.Signed-off-by: Jaroslav Kysela
02 Nov, 2009
1 commit
-
Now up to 128 substreams are supported.
Reported-by: Adrian Bridgett
Signed-off-by: Takashi Iwai
30 Oct, 2009
1 commit
-
In pcm.c, if the NULL test on pcm is needed, then the dereference should be
after the NULL test.In dummy.c and ali5451.c, the context of the calls to
snd_card_dummy_new_mixer and snd_ali_free_voice show that dummy and pvoice,
respectively cannot be NULL.A simplified version of the semantic match that detects this problem is as
follows (http://coccinelle.lip6.fr/)://
@match exists@
expression x, E;
identifier fld;
@@* x->fld
... when != \(x = E\|&x\)
* x == NULL
//Signed-off-by: Julia Lawall
Signed-off-by: Takashi Iwai
09 Sep, 2009
1 commit
-
Increase the limit of PCM substreams to 128. The default value is
unchanged; only the max accept value is increased.Signed-off-by: Takashi Iwai
08 Sep, 2009
1 commit
-
Added the debug proc file to see or change the snd_pcm_hardware fields
to emulate. The parameters can be changed by writing to a proc file like:# echo periods_min 4 > /proc/asound/card1/dummy_pcm
Signed-off-by: Takashi Iwai
07 Sep, 2009
1 commit
-
Instead of allocating the real buffers, use a fake buffer and ignore
read/write in the dummy driver so that we can save the resources.
For mmap, a single page (unique to the direction, though) is reused
to all buffers.When the app requires to read/write the real buffers, pass fake_buffer=0
module option at loading time. This will get back to the old behavior.Signed-off-by: Takashi Iwai
04 Sep, 2009
1 commit
-
Fix the expire-time calculation in the systimer mode when the buffer
size isn't aligned to the period size.Signed-off-by: Takashi Iwai
03 Sep, 2009
2 commits
-
In the system-timer mode, snd-dummy driver issues each tick to update
the position. This is highly inefficient and even inaccurate if the
timer can't be triggered at each tick.Now rewritten to wake up only at the period boundary. The position
is calculated from the current jiffies.Signed-off-by: Takashi Iwai
-
Allow snd-dummy driver to use high-res timer as its timing source
instead of the system timer. The new module option "hrtimer" is added
to turn on/off the high-res timer support. It can be switched even
dynamically via sysfs.Signed-off-by: Takashi Iwai
12 Jan, 2009
1 commit
-
Convert from snd_card_new() to the new snd_card_create() function
in other sound subdirectories.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
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
24 Apr, 2008
3 commits
-
bps is unsigned, a negative snd_pcm_format_width() return value is not noticed
Signed-off-by: Roel Kluin
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 -
Signed-off-by: Ahmet İnan mathematik.uni-freiburg.de>
Signed-off-by: Takashi Iwai
01 Feb, 2008
1 commit
-
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
16 Oct, 2007
2 commits
-
Signed-off-by: Jaroslav Kysela
-
Clean up codes using the new common snd_ctl_boolean_*_info() callbacks.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
20 Jul, 2007
1 commit
-
Something about __init_or_module isn't working as expected (?).
CONFIG_HOTPLUG=y
CONFIG_MODULES=n
Fix shared init/exit code helper:
WARNING: sound/built-in.o(.exit.text+0x243): Section mismatch: reference to .init.text: (between 'alsa_card_mpu401_exit' and 'ac97_bus_exit')
WARNING: sound/built-in.o(.exit.text+0x21b): Section mismatch: reference to .init.text: (between 'alsa_card_dummy_exit' and 'alsa_card_serial_exit')Signed-off-by: Randy Dunlap
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
14 Feb, 2007
1 commit
-
Fix __devinit and __devexit issues with sound drivers.
Resolves MODPOST warnings similar to:
WARNING: sound/drivers/snd-dummy.o - Section mismatch: reference to .init.text:snd_dummy_probe from .data.rel.local between 'snd_dummy_driver' (at offset 0x0) and 'snd_dummy_controls'
WARNING: sound/drivers/snd-mtpav.o - Section mismatch: reference to .init.text:snd_mtpav_probe from .data.rel.local between 'snd_mtpav_driver' (at offset 0x0) and 'snd_mtpav_input'
WARNING: sound/drivers/snd-virmidi.o - Section mismatch: reference to .init.text:snd_virmidi_probe from .data.rel.local after 'snd_virmidi_driver' (at offset 0x0)Signed-off-by: Prarit Bhargava
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
09 Feb, 2007
1 commit
-
Mark TLV data as 'const'
Signed-of-by: Philipp Matthias HahnSigned-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
23 Sep, 2006
2 commits
-
Added the dB scale information to dummy driver.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela -
Fixed some typos in snd-dummy driver.
Signed-off-by: Takashi Iwai
Signed-off-by: Jaroslav Kysela
23 Jun, 2006
1 commit
-
This second one unregisters the platform device again when the probe is
unsuccesful for sound/drivers, sound/arm/sa11xx-uda1341.c and
sound/ppc/powermac.c. This gets them all.Signed-off-by: Rene Herman
Signed-off-by: Takashi Iwai
28 Apr, 2006
1 commit
-
I previously only concerned myself with sound/isa. When I now checked
for more platform_device_register_simple() usages in ALSA I found a
couple more drivers that needed the same patches as already submitted
for all the ISA drivers.
This first one is the continue-on-iserr patch for sound/drivers. This
gets them all.Signed-off-by: Rene Herman
Signed-off-by: Takashi Iwai
22 Mar, 2006
1 commit
-
Fix the check of enable module option in probe of platform_device drivers.
It shouldn't break the loop but just ignore if enable[i] is false.Signed-off-by: Takashi Iwai
04 Jan, 2006
1 commit
-
Modules: Generic drivers
Signed-off-by: Jaroslav Kysela
03 Jan, 2006
5 commits
-
Call platform_device_unregister() for all platform devices that we've
registered.Signed-off-by: Clemens Ladisch
-
Fix possible races in timer callbacks.
Signed-off-by: Takashi Iwai
-
Modules: Generic drivers
Rewrite the probe/remove code using platform_device.
Added the suspend/resume support, too.Signed-off-by: Takashi Iwai
-
Modules: Generic drivers
Remove xxx_t typedefs from the generic drivers
(dummy, mtpav, serial-u16550 and virmidi).Signed-off-by: Takashi Iwai
-
Modules: Generic drivers
Clean up snd-dummy driver code.
- Make common PCM callbacks
- Simplify open callback
- Remove unnecessary irqsave in control callbacksSigned-off-by: Takashi Iwai
12 Sep, 2005
2 commits
-
Documentation,SA11xx UDA1341 driver,Generic drivers,MPU401 UART,OPL3
OPL4,Digigram VX core,I2C cs8427,I2C lib core,I2C tea6330t,L3 drivers
AK4114 receiver,AK4117 receiver,PDAudioCF driver,PPC PMAC driver
SPARC AMD7930 driver,SPARC cs4231 driver,Synth,Common EMU synth
USB generic driver,USB USX2Y
Replace kcalloc(1,..) with kzalloc().Signed-off-by: Takashi Iwai
-
ARM,SA11xx UDA1341 driver,Generic drivers,MPU401 UART,MIPS
MIPS AU1x00 driver,PPC,PPC PowerMac driver,SPARC,SPARC AMD7930 driver
SPARC cs4231 driver,SPARC DBRI driver
- Added snd_card_set_generic_dev() call.
- Added SND_GENERIC_DRIVER to Kconfig.
- Clean up the error path in probe if necessary.Signed-off-by: Takashi Iwai
17 Apr, 2005
1 commit
-
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!