From: Daniel Mack Date: Sat, 10 Nov 2012 18:52:50 +0000 (+0100) Subject: ASoC: cs4271: free allocated GPIO X-Git-Tag: v3.7-rc7~12^2~3^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5574f7745436d2014fcba1163f820d132e816c85;p=pandora-kernel.git ASoC: cs4271: free allocated GPIO In case of probe deferral, the allocated GPIO line is not freed, which prevents it from being claimed and properly asserted in later attempts. Fix this by using devm_gpio_request(). Signed-off-by: Daniel Mack Reported-by: Michael Hirsch Cc: Alexander Sverdlin Signed-off-by: Mark Brown --- Reading git-diff-tree failed