From: Peter Ujfalusi Date: Thu, 14 Mar 2013 20:26:24 +0000 (+0100) Subject: ASoC: dapm: Fix pointer dereference in is_connected_output_ep() X-Git-Tag: v3.9-rc6~16^2~7^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f08a89862b96d84c6dfe6c242eb010084e51d3b;p=pandora-kernel.git ASoC: dapm: Fix pointer dereference in is_connected_output_ep() *path is not yet initialized when we check if the widget is connected. The compiler also warns about this: sound/soc/soc-dapm.c: In function 'is_connected_output_ep': sound/soc/soc-dapm.c:824:18: warning: 'path' may be used uninitialized in this function Signed-off-by: Peter Ujfalusi Signed-off-by: Mark Brown --- Reading git-diff-tree failed