aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorDaniel Mack <[email protected]>2012-11-10 19:52:50 +0100
committerMark Brown <[email protected]>2012-11-13 15:45:35 +0900
commit5574f7745436d2014fcba1163f820d132e816c85 (patch)
tree00df49bbed003249faeb0665916c591965ac5a03 /lib/cpu-notifier-error-inject.c
parent77b67063bb6bce6d475e910d3b886a606d0d91f7 (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 <[email protected]> Reported-by: Michael Hirsch <[email protected]> Cc: Alexander Sverdlin <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions