commit | 25c8888ad65f812c847ae58398a5f8f1b20b0a95 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Fri Jun 12 17:19:15 2015 +0800 |
committer | Mark Brown <broonie@kernel.org> | Fri Jun 12 11:52:29 2015 +0100 |
tree | 3f32f4710b51dc43fae8747b8573f85f60123a1f | |
parent | 48edaa4b4fb6e75b890942394f0d0c2571d5c90d [diff] |
ASoC: rt5645: Use devm_gpiod_get_optional for hp-detect Since hp-detect is optional, use devm_gpiod_get_optional instead. In additional, it should return error if devm_gpiod_get_optional fails. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>