Skip to content
Commit 73365cb1 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: pcm: Unify snd_pcm_group initialization



There are multiple open codes that initialize the same object.
Create a common helper function instead.

Also, use kzalloc() to be safer at creating a group object, and move
the initialization out of the critical section.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d819fb21
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment