commit | 5574f7745436d2014fcba1163f820d132e816c85 | [log] [tgz] |
---|---|---|
author | Daniel Mack <zonque@gmail.com> | Sat Nov 10 19:52:50 2012 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Nov 13 15:45:35 2012 +0900 |
tree | 00df49bbed003249faeb0665916c591965ac5a03 | |
parent | 77b67063bb6bce6d475e910d3b886a606d0d91f7 [diff] |
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 <zonque@gmail.com> Reported-by: Michael Hirsch <hirsch@teufel.de> Cc: Alexander Sverdlin <subaparts@yandex.ru> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>