From: Peter Ujfalusi Date: Thu, 15 Sep 2011 12:39:26 +0000 (+0300) Subject: MFD: twl6040: Fix power on GPIO handling X-Git-Tag: v3.2-rc1~127^2~2^2~1^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77f63e06cb5d5127e6f78347db01e092b97e111e;p=pandora-kernel.git MFD: twl6040: Fix power on GPIO handling Avoid requesting the audpwron gpio in case of ES1.0 revision. In the past we requested the gpio, but we did not free it up, since we made the check for the revision later. This results later checks for gpio validity to fail, leaving the gpio reserved (even after the driver has been removed). Signed-off-by: Peter Ujfalusi Acked-by: Samuel Ortiz Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed