diff options
author | Daniel Mack <zonque@gmail.com> | 2012-11-10 19:52:50 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-11-13 15:45:35 +0900 |
commit | 5574f7745436d2014fcba1163f820d132e816c85 (patch) | |
tree | 00df49bbed003249faeb0665916c591965ac5a03 /mm/mm_init.c | |
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>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions