commit | 524c6e04f826cea8a34a27136d8f5925df9213ed | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Sat Sep 03 01:17:20 2016 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Mon Sep 05 16:40:52 2016 +0530 |
tree | 326faa33e03fe2ecb9ca6889c50bdde632add40a | |
parent | 028e84a1de7cba6a3e4cf1a22094b76a4b92cefb [diff] |
dmaengine: sirf: fix irq number error check irq_of_parse_and_map() returns 0 on error, no NO_IRQ, so the failure condition can never be met. This changes the comparison to check for zero instead. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Vinod Koul <vinod.koul@intel.com>