From: Jin Yao Date: Tue, 17 Mar 2015 02:23:31 +0000 (+0800) Subject: ASoC: Intel: move the jack creation to Braswell machine driver X-Git-Tag: omap-for-v4.2/o2_dc~120^2~1^2~10^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b3b58d97fb2d03f8f1d009a77baece311aa0d16;p=pandora-kernel.git ASoC: Intel: move the jack creation to Braswell machine driver The jack creation code was in rt5670 codec driver before due to the jack resources (gpio/irq) were defined under the node of codec device in ACPI on Braswell. We used the snd_soc_jack_new() to create a jack instance. But now snd_soc_jack_new() is removed from upstream and we can't use snd_soc_card_jack_new() in codec driver, so we move the jack creation code to machine driver and pass the jack instance to codec driver for further processing. Signed-off-by: Bard Liao Signed-off-by: Jin Yao Signed-off-by: Mark Brown --- Reading git-diff-tree failed