diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-09-03 02:17:20 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2016-09-05 14:10:52 +0300 |
commit | 524c6e04f826cea8a34a27136d8f5925df9213ed (patch) | |
tree | 326faa33e03fe2ecb9ca6889c50bdde632add40a /drivers/dma/ipu | |
parent | 028e84a1de7cba6a3e4cf1a22094b76a4b92cefb (diff) | |
download | linux-524c6e04f826cea8a34a27136d8f5925df9213ed.tar.xz |
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>
Diffstat (limited to 'drivers/dma/ipu')
0 files changed, 0 insertions, 0 deletions