Skip to content
Commit dd291497 authored by Axel Lin's avatar Axel Lin Committed by Linus Walleij
Browse files

gpio: em: Fix checking return value of irq_alloc_descs



irq_alloc_descs() returns negative error code on failure.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarMagnus Damm <damm@opensource.se>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 4c30aa33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment