commit | cd74f7b3b387cbc6153b15c100982bac119af753 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Tue Nov 27 16:14:26 2012 +0900 |
committer | Chanwoo Choi <cw00.choi@samsung.com> | Tue Jan 15 15:42:17 2013 +0900 |
tree | 0351bb481c4f7e24d361ccf8eb2f860641eddf4f | |
parent | db72e6a1629ab79f5599f21ab19f8eb31137befa [diff] |
extcon: arizona: Only set GPIO if it has been requested The micd_pol GPIO is only requested if we've specified one greater than 0 so apply the same test before we set it. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>