isdn: hisax: Fix pnp_irq's error checking for setup_isurf
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 16 Nov 2017 04:27:25 +0000 (09:57 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Nov 2017 13:31:16 +0000 (22:31 +0900)
commit56cdb919f70abfb353171fd705ab65053f7cc057
tree07f7ccddbc2d6cf41e5fb7d301ae390d84259d54
parenteb545c124aac9cd9c1bef6b39e0d8e8e520f9d87
isdn: hisax: Fix pnp_irq's error checking for setup_isurf

The pnp_irq() function returns -1 if an error occurs.
pnp_irq() error checking for zero is not correct.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hisax/isurf.c