commit | a41c4cb913b53bf74f1ec66a4b96057626c87009 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Sun Jan 13 09:40:21 2019 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Jan 21 16:39:54 2019 +0100 |
tree | a063f1c6b8276a20ac40e407e77454ae303d1860 | |
parent | 73365cb10b280e539bad14e129e0d8434418bb79 [diff] |
ALSA: pcm: Make PCM linked list consistent while re-grouping Make a common helper to re-assign the PCM link using list_move() instead of open code with manual list_del() and list_add_tail(). This assures the consistency and we can get rid of snd_pcm_group.count field -- its purpose is only to check whether the list is singular, and we can know it by list_is_singular() call now. Signed-off-by: Takashi Iwai <tiwai@suse.de>