From: Takashi Iwai Date: Wed, 9 May 2012 12:35:27 +0000 (+0200) Subject: ALSA: hda - Call snd_array_init() early and only once X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~39^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=361dab3ec2c59044f420cdf232523cd4af4e833e;p=pandora-kernel.git ALSA: hda - Call snd_array_init() early and only once 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 --- Reading git-diff-tree failed