arm.c: fix conditionals instead of checking all possibilities
arm.c: fix conditionals instead of checking all possibilities

Signed-off-by: Brendan Le Foll <3e0e8c4069934e8b47d99704927a85c66c0ceb33@intel.com>

KurtE/mraa,g-vidal/mraa,g-vidal/mraa,jontrulson/mraa,intel-iot-devkit/mraa,Jon-ICS/mraa,Propanu/mraa,intel-iot-devkit/mraa,arunlee77/mraa,sergev/mraa,Pillar1989/mraa,KurtE/mraa,stefan-andritoiu/mraa-gpio-chardev,jontrulson/mraa,malikabhi05/mraa,sergev/mraa,spitfire88/mraa,ProfFan/mraa,andreivasiliu2211/mraa,malikabhi05/mraa,Hbrinj/mraa,w4ilun/mraa,Hbrinj/mraa,alext-mkrs/mraa,Propanu/mraa,malikabhi05/mraa,petreeftime/mraa,sergev/mraa,alext-mkrs/mraa,stefan-andritoiu/mraa,jontrulson/mraa,yongli3/mraa,ncrastanaren/mraa,w4ilun/mraa,spitfire88/mraa,KurtE/mraa,petreeftime/mraa,andreivasiliu2211/mraa,petreeftime/mraa,yongli3/mraa,alext-mkrs/mraa,whbruce/mraa,Pillar1989/mraa,ProfFan/mraa,Jon-ICS/mraa,stefan-andritoiu/mraa-gpio-chardev,jontrulson/mraa,ProfFan/mraa,ProfFan/mraa,arfoll/mraa,stefan-andritoiu/mraa,whbruce/mraa,ncrastanaren/mraa,arunlee77/mraa,w4ilun/mraa,Jon-ICS/mraa,andreivasiliu2211/mraa,yongli3/mraa,spitfire88/mraa,intel-iot-devkit/mraa,arfoll/mraa,g-vidal/mraa,sergev/mraa,alext-mkrs/mraa,arunlee77/mraa,Hbrinj/mraa,stefan-andritoiu/mraa-gpio-chardev,Propanu/mraa,yongli3/mraa,g-vidal/mraa,whbruce/mraa,stefan-andritoiu/mraa,Propanu/mraa,stefan-andritoiu/mraa-gpio-chardev,sergev/mraa,stefan-andritoiu/mraa,intel-iot-devkit/mraa,w4ilun/mraa,Pillar1989/mraa,Propanu/mraa,spitfire88/mraa,petreeftime/mraa,yongli3/mraa,ncrastanaren/mraa,arfoll/mraa,KurtE/mraa,andreivasiliu2211/mraa,KurtE/mraa,malikabhi05/mraa,jontrulson/mraa,ncrastanaren/mraa,malikabhi05/mraa,arfoll/mraa,whbruce/mraa,arunlee77/mraa,stefan-andritoiu/mraa,Hbrinj/mraa,arfoll/mraa,stefan-andritoiu/mraa-gpio-chardev,intel-iot-devkit/mraa,g-vidal/mraa,ncrastanaren/mraa,alext-mkrs/mraa