From: Takashi Iwai Date: Thu, 3 Jan 2013 14:25:11 +0000 (+0100) Subject: ALSA: hda - Revive snd_hda_get_conn_list() X-Git-Tag: v3.9-rc1~129^2~70^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee8e765b0b6c9274e255025318cf8da1a3e30d45;p=pandora-kernel.git ALSA: hda - Revive snd_hda_get_conn_list() Manage the connection list cache using linked lists instead of snd_array, and revive snd_hda_get_conn_list() again, so that we don't have to keep the expanded values locally. This will reduce the stack usage by recursive call of snd_hda_get_conn_index() or parse_nid_path() of the generic parser. The list management doesn't include any mutex protection, thus the caller needs to take care of race appropriately. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed