From: Nicolin Chen Date: Sun, 15 Feb 2015 01:22:49 +0000 (-0800) Subject: ASoC: core: Add extra dapm properties for Device Tree X-Git-Tag: omap-for-v4.2/o2_dc~120^2~1^2~12^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f23e860edbb3f2208c0ab3448e756689bb4a3760;p=pandora-kernel.git ASoC: core: Add extra dapm properties for Device Tree The current helper functions, snd_soc_of_parse_audio_simple_widgets() and snd_soc_of_parse_audio_routing(), set dapm_widgets and dapm_routes without caring if they are already set by using build-in widgets and routes in the card driver. So there could be one of them, build-in one or Device Tree one, overrided by the other depending on which one was assigned later. This patch adds an extra pair of dapm_widgets and dapm_routes for DT use only so as to prevent unexpected overriding. Signed-off-by: Nicolin Chen Signed-off-by: Mark Brown --- Reading git-diff-tree failed