sparc64: restore irq in error paths in iommu
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 25 Nov 2016 21:15:37 +0000 (00:15 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Dec 2016 02:15:49 +0000 (18:15 -0800)
commite241cfd3bd3503ef6a909f41f0adf06be193fe25
tree465355f3dd74d89bfcb1d85a325baa2e364ba4e6
parent601e6e3cc5bf6adb7d076fe24d10f6191a25ba9b
sparc64: restore irq in error paths in iommu

There are some error paths where we should restore IRQs but we don't.

Fixes: bb620c3d3925 ("sparc: Make sparc64 use scalable lib/iommu-common.c functions")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/kernel/pci_sun4v.c