commit | f8163c8673efaabb361281a2759b3167d181ecf6 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sat Jul 25 10:23:40 2015 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Jul 29 13:56:50 2015 +0100 |
tree | b6dac11c4f13c4c82f9bf9abb2f68c2c0b2d0654 | |
parent | f285f1610341af4181791938777e0affb5531278 [diff] |
ASoC: rt5677: Return error if devm_gpiod_get_optional return ERR_PTR If devm_gpiod_get_optional() return ERR_PTR, it means something wrong so request gpio fails. We had better return error in such case. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>