1
0
Fork 0
alistair23-linux/sound/core
Takashi Iwai 393aa9c1cc ALSA: Mandate to pass a device pointer at card creation time
This is a part of preliminary works for modernizing the ALSA device
structure.  So far, we set card->dev at later point after the object
creation.  Because of this, the core layer doesn't always know which
device is being handled before it's actually registered, and it makes
impossible to show the device in error messages, for example.  The
first goal is to achieve a proper struct device initialization at the
very beginning of probing.

As a first step, this patch introduces snd_card_new() function (yes
there was the same named function in the very past), in order to
receive the parent device pointer from the very beginning.
snd_card_create() is marked as deprecated.

At this point, there is no functional change other than that.  The
actual change of the device creation scheme will follow later.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2014-02-12 10:58:20 +01:00
..
oss ALSA: Drop unused name argument in snd_register_oss_device() 2014-02-12 10:58:19 +01:00
seq ALSA: Drop unused name argument in snd_register_oss_device() 2014-02-12 10:58:19 +01:00
Kconfig ALSA: core: allow SND_DMAENGINE_PCM use from modules 2013-08-15 18:28:42 +01:00
Makefile ALSA: Merge memalloc code into snd-pcm module 2014-01-09 08:12:57 +01:00
compress_offload.c ALSA: compress: remove the sample rate check 2014-01-05 11:58:08 +01:00
control.c ALSA: Replace with IS_ENABLED() 2014-02-10 11:42:00 +01:00
control_compat.c ALSA: control: add support for ENUMERATED user space controls 2011-10-09 09:09:11 +02:00
ctljack.c ALSA: hda - Add missing inclusion of linux/export.h 2011-11-16 14:28:33 +01:00
device.c ALSA: add/change some comments describing function return values 2013-03-12 08:32:53 +01:00
hrtimer.c ALSA: hrtimer: remove superfluous tasklet invocation 2011-02-10 18:53:32 +01:00
hwdep.c ALSA: Drop unused name argument in snd_register_oss_device() 2014-02-12 10:58:19 +01:00
hwdep_compat.c [PATCH] hwdep_compat missed __user annotations 2006-10-10 15:37:21 -07:00
info.c ALSA: Replace with IS_ENABLED() 2014-02-10 11:42:00 +01:00
info_oss.c ALSA: remove the main version information 2012-09-04 11:38:32 +02:00
init.c ALSA: Mandate to pass a device pointer at card creation time 2014-02-12 10:58:20 +01:00
isadma.c ALSA: add/change some comments describing function return values 2013-03-12 08:32:53 +01:00
jack.c ALSA: jack: Unregister input device at disconnection 2013-11-14 17:22:45 +01:00
memalloc.c ALSA: Merge memalloc code into snd-pcm module 2014-01-09 08:12:57 +01:00
memory.c ALSA: add/change some comments describing function return values 2013-03-12 08:32:53 +01:00
misc.c sound: use printk_get_level and printk_skip_level 2012-07-30 17:25:14 -07:00
pcm.c ALSA: Replace with IS_ENABLED() 2014-02-10 11:42:00 +01:00
pcm_compat.c ALSA: core: fix 64-bit SNDRV_PCM_IOCTL_STATUS ABI breakage 2012-10-28 09:52:37 +01:00
pcm_dmaengine.c ALSA: pcm_dmaengine: Remove hardcoded PCM formats 2013-10-28 10:18:09 +01:00
pcm_lib.c ALSA: Add SNDRV_PCM_STATE_PAUSED case in wait_for_avail function 2013-12-17 16:56:11 +01:00
pcm_memory.c ALSA: PCM: Warn when buffer preallocation fails 2014-01-11 11:04:23 +01:00
pcm_misc.c ALSA: Add helper function for intersecting two rate masks 2014-01-14 20:42:34 +00:00
pcm_native.c ALSA: Replace with IS_ENABLED() 2014-02-10 11:42:00 +01:00
pcm_timer.c ALSA: sound/core/pcm_timer.c: use lib/gcd.c 2009-12-22 08:24:35 +01:00
rawmidi.c ALSA: Drop unused name argument in snd_register_oss_device() 2014-02-12 10:58:19 +01:00
rawmidi_compat.c
rtctimer.c ALSA: Replace with IS_ENABLED() 2014-02-10 11:42:00 +01:00
sgbuf.c ALSA: Make snd_sgbuf_get_{ptr|addr}() available for non-SG cases 2012-09-23 11:24:42 +02:00
sound.c consolidate the reassignments of ->f_op in ->open() instances 2013-10-24 23:34:53 -04:00
sound_oss.c ALSA: Drop unused name argument in snd_register_oss_device() 2014-02-12 10:58:19 +01:00
timer.c ALSA: Replace with IS_ENABLED() 2014-02-10 11:42:00 +01:00
timer_compat.c ALSA: Kill snd_assert() in sound/core/* 2008-08-13 11:46:35 +02:00
vmaster.c ALSA: vmaster: Fix the regression of missing vmaster hook call 2013-07-03 14:01:32 +02:00