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
..
2012-10-09 07:07:14 +09:00
2012-10-09 07:07:14 +09:00
2011-08-17 00:53:54 +09:00
2011-05-19 14:10:45 -07:00
2015-02-02 14:42:41 +01:00
2014-05-05 18:20:22 -07:00
2013-02-14 17:27:17 +00:00
2012-09-28 14:21:54 +01:00
2015-02-02 14:42:42 +01:00
2006-03-22 10:24:57 +01:00
2012-01-03 22:54:56 -05:00
2008-11-17 11:45:39 +00:00
2010-10-18 16:46:27 -07:00
2011-02-14 17:10:11 +01:00
2006-01-03 12:18:06 +01:00
2013-12-30 12:19:26 +00:00
2015-02-02 14:42:42 +01:00
2014-07-04 18:50:51 +01:00
2014-04-18 18:52:18 +01:00
2014-07-02 20:49:25 +01:00
2014-10-22 11:43:14 +01:00
2012-12-24 15:57:20 +00:00
2013-05-08 15:43:56 +02:00
2014-09-15 15:52:03 +02:00
2011-09-20 16:02:16 +01:00
2009-12-18 13:06:47 +00:00
2011-08-08 14:30:37 +09:00
2010-04-30 16:12:44 +01:00