[alsa-devel] [PATCH] ALSA: ASoC: cs4271: free allocated GPIO

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Nov 7 15:07:20 CET 2012


On Wed, Nov 07, 2012 at 02:15:55PM +0100, Daniel Mack wrote:
> 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 freeing the GPIO in case of errors.

Can we convert to devm_gpio_request_one() instead?


More information about the Alsa-devel mailing list