commit | 04368d051a6aa90c14a3ca5a48f60aca2f6ecdd1 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut@gmail.com> | Sat Apr 02 03:43:15 2011 +0200 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sun Apr 03 22:11:09 2011 +0900 |
tree | 8be790055a82ce4c7c7c99e8defbfbd8962506a4 | |
parent | 363618f013f2f11a1089b610748beb5de93b8630 [diff] |
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 <marek.vasut@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>