From: Jie Yang Date: Mon, 27 Apr 2015 13:20:57 +0000 (+0800) Subject: ALSA: Jack: handle jack embedded kcontrol creating within ctljack X-Git-Tag: omap-for-v4.2/fixes-rc1^2~113^2~110^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8dd086674cf;p=pandora-kernel.git ALSA: Jack: handle jack embedded kcontrol creating within ctljack This patch adds a static method get_available_index() to allocate the index of new jack kcontrols and also adds jack_kctl_name_gen() which is used to ensure compatibility with jack naming by removing " Jack" from some incorrectly passed names. Signed-off-by: Jie Yang Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed