Skip to content
Commit f3c2664e authored by Sergio Rodriguez's avatar Sergio Rodriguez Committed by Anas Nashif
Browse files

drivers: gpio_atmel: Fix erronous if statement



The GPIO_INT_ACTIVE_LOW value is  zero so the mask assignement is
never executed. Using the bit complement GPIO_INT_ACTIVE_HIGH the
proper mask is assigned

This issue was reported by Coverity

Coverity-CID: 151966

Change-Id: Ibc7d2e4c3ebee249b5ab9719f8177cc14c0d1d33
Signed-off-by: default avatarSergio Rodriguez <sergio.sf.rodriguez@intel.com>
parent 22bbdc2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment