commit | 6402a577f4688053e98c1ffda1f4a6a59684ba81 | [log] [tgz] |
---|---|---|
author | Jia-Ju Bai <baijiaju1990@163.com> | Mon Dec 22 08:28:52 2014 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 22 16:31:58 2014 -0500 |
tree | 93392c3f7aeb03a7fb17cffa879f7f7fc10a3890 | |
parent | f620e4fe161f4d488414d7893a690e76b53f0c5e [diff] |
8139too: Fix the lack of pci_disable_device For linux-3.18.0 When pci_request_regions is failed in rtl8139_init_board, pci_disable_device is not called to disable the device which are enabled by pci_enable_device, because of disable_dev_on_err is not assigned 1. This patch fix this problem. Signed-off-by: Jia-Ju Bai <baijiaju1990@163.com> Signed-off-by: David S. Miller <davem@davemloft.net>