linux/sound/aoa/soundbus
Takashi Iwai ef46c7af93 ALSA: pcm: Embed struct device
Like previous patches, at this time we embed the struct device into
PCM object.  However, this needs a bit more caution: struct snd_pcm
doesn't own one device but two, for both playback and capture!  Thus
not struct snd_pcm but struct snd_pcm_str object contains the device.

Along with this change, pcm->dev field is dropped for avoiding
confusion.  It was meant to point to a non-standard parent.  But,
since now we can touch each struct device directly, we can manipulate
the parent field easily there, too.

Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-02-02 14:42:42 +01:00
..
i2sbus ALSA: pcm: Embed struct device 2015-02-02 14:42:42 +01:00
core.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
Kconfig sound: Convert to menuconfig 2008-05-27 15:56:20 +02:00
Makefile [ALSA] snd-aoa: add snd-aoa 2006-06-22 21:34:38 +02:00
soundbus.h of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
sysfs.c of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00