From: Marek Vasut Date: Sat, 2 Apr 2011 01:43:15 +0000 (+0200) Subject: ASoC: Properly handle spitz MIC GPIO X-Git-Tag: v3.0-rc1~347^2~1^2~107^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04368d051a6aa90c14a3ca5a48f60aca2f6ecdd1;p=pandora-kernel.git ASoC: Properly handle spitz MIC GPIO This patch firstly restructurizes the code a bit by getting rid of continuous checking for machine type in spitz_mic_bias(). Then the patch properly requests the MIC GPIO in the spitz_init() and frees it in spitz_exit(). Signed-off-by: Marek Vasut Signed-off-by: Mark Brown --- Reading git-diff-tree failed