From: Mark Brown Date: Mon, 12 Aug 2013 22:28:42 +0000 (+0100) Subject: ASoC: dapm: Don't create routes when creating kcontrols X-Git-Tag: v3.12-rc1~150^2~9^2~45^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=946d92a100f6c36b1c53922d5105b3c19a59173d;p=pandora-kernel.git ASoC: dapm: Don't create routes when creating kcontrols Attempting to create the route as part of adding a mux control causes us to attempt to add the same route twice since we loop over all sources for the mux after creating the control. Instead do the addition in the callers. Signed-off-by: Mark Brown Acked-by: Lars-Peter Clausen --- Reading git-diff-tree failed