commit | b52080749fb6a88038f88a53b123c0dd67012795 | [log] [tgz] |
---|---|---|
author | Sergio Rodriguez <sergio.sf.rodriguez@intel.com> | Mon Dec 12 11:15:44 2016 -0800 |
committer | Anas Nashif <nashif@linux.intel.com> | Wed Dec 21 13:49:40 2016 +0000 |
tree | 65e3cd05493d2a3435a2bc98fc7bfbf84f576f0e | |
parent | 814534ba4ecd3fce6e1f3191ac34979f852391ad [diff] |
drivers: gpio_cmsdk_ahb: Fix erronous if statements The GPIO_INT_LEVEL and GPIO_INT_ACTIVE_LOW values are zero so the statements are never executed then is better use the bit complement masks This issue was reported by Coverity Coverity-CID: 157586 Change-Id: Ic8b20660a991dd3d0c71248f84c917e5ce5c3c7c Signed-off-by: Sergio Rodriguez <sergio.sf.rodriguez@intel.com>