commit | 4b288999b2f68d1030d3e6aaf92e7ab4443f4fc8 | [log] [tgz] |
---|---|---|
author | Sergio Rodriguez <sergio.sf.rodriguez@intel.com> | Mon Nov 28 17:37:44 2016 -0800 |
committer | Anas Nashif <nashif@linux.intel.com> | Sat Dec 24 13:52:51 2016 +0000 |
tree | 8c2ef51151d4c8655315acf8a7063b24a4a96734 | |
parent | 1d3b16a74a01b75f77033e7ba9e0b770bb534b4d [diff] |
drivers: gpio_atmel: Fix erronous if statement The GPIO_INT_LEVEL value is zero so the mask assignement is never executed. Using the bit complement GPIO_INT_EDGE the proper mask is assigned This issue was reported by Coverity Coverity-CID: 151966 Change-Id: Iacfeb6466388023bd6123ba86280aa9ca15f34e4 Signed-off-by: Sergio Rodriguez <sergio.sf.rodriguez@intel.com>