]> git.baikalelectronics.ru Git - kernel.git/commit
wan: wanxl: add pci_disable_device in case of error
authorSaurabh Sengar <saurabh.truth@gmail.com>
Fri, 11 Dec 2015 19:28:19 +0000 (00:58 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Dec 2015 21:21:58 +0000 (16:21 -0500)
commited375082b0c4086fb0523b0386f92a0591087f92
tree40d0a596891c90ae3aef798f7341b382af3364cf
parent2219c4150f7c60a75dac2154bd65db76db44f8f7
wan: wanxl: add pci_disable_device in case of error

If there is 'no suitable DMA available' error, device should be disabled
before returning

Signed-off-by: Saurabh Sengar <saurabh.truth@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/wanxl.c