commit | 535787b6ae081171a5e7dbf0158ef9fa56d59dc8 | [log] [tgz] |
---|---|---|
author | Jarkko Nikula <jhnikula@gmail.com> | Thu Feb 10 17:22:23 2011 +0200 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Fri Feb 11 11:17:43 2011 +0000 |
tree | 88cd5e020583a6ce222c8c4b4b71e69bf52cd592 | |
parent | 7ae7434086f5b106021276e88b8ef49debf30aa8 [diff] |
ASoC: Allow use sleeping gpio in soc-jack It is safe to use sleeping gpio in snd_soc_jack_gpio_detect as it is not called from interrupt context. This avoids WARN_ON from __gpio_get_value if sleeping gpio is registered for jack. Signed-off-by: Jarkko Nikula <jhnikula@gmail.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>