From: Stephen Warren Date: Mon, 31 Mar 2014 18:25:24 +0000 (-0600) Subject: ASoC: alc5632: fix uninit var in alc5632_probe() X-Git-Tag: v3.15-rc1~36^2~1^2~1^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3efe3bedb6592465d9a2bd116d5e611dae362c3;p=pandora-kernel.git ASoC: alc5632: fix uninit var in alc5632_probe() alc5632_probe() returns ret, yet it is not initialized or set anywhere. This ends up causing the function to appear to fail, and audio not to work on the Toshiba AC100, with my compiler at least. This function used to set ret in all cases, but recent cleanup removed that. Fixes: 5d6be5aa6bec ("ASoC: codec: Simplify ASoC probe code.") Signed-off-by: Stephen Warren Reviewed-by: Thierry Reding Signed-off-by: Mark Brown --- Reading git-diff-tree failed