ALSA: hda - Call snd_array_init() early and only once
authorTakashi Iwai <tiwai@suse.de>
Wed, 9 May 2012 12:35:27 +0000 (14:35 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 28 Nov 2012 08:03:39 +0000 (09:03 +0100)
This is a preliminary patch for introducing a protection to access
races of snd_array instances.  Call snd_array_init() appropriately
at the initialization time and don't call it twice.

Also the allocations of codec-spec structs are cleaned up by helper
functions in patch_sigmatel.c and patch_analog.c.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found