Michele Baldessari
80ae566933
e100: Fix "disabling already-disabled device" warning
commit 2b6e0ca175 upstream.
In https://bugzilla.redhat.com/show_bug.cgi?id=994438 and
https://bugzilla.redhat.com/show_bug.cgi?id=970480 we
received different reports of e100 throwing the following
warning:
[<c06a0ba5>] ? pci_disable_device+0x85/0x90
[<c044a153>] warn_slowpath_fmt+0x33/0x40
[<c06a0ba5>] pci_disable_device+0x85/0x90
[<f7fdf7e0>] __e100_shutdown+0x80/0x120 [e100]
[<c0476ca5>] ? check_preempt_curr+0x65/0x90
[<f7fdf8d6>] e100_suspend+0x16/0x30 [e100]
[<c06a1ebb>] pci_legacy_suspend+0x2b/0xb0
[<c098fc0f>] ? wait_for_completion+0x1f/0xd0
[<c06a2d50>] ? pci_pm_poweroff+0xb0/0xb0
[<c06a2de4>] pci_pm_freeze+0x94/0xa0
[<c0767bb7>] dpm_run_callback+0x37/0x80
[<c076a204>] ? pm_wakeup_pending+0xc4/0x140
[<c0767f12>] __device_suspend+0xb2/0x1f0
[<c076806f>] async_suspend+0x1f/0x90
[<c04706e5>] async_run_entry_fn+0x35/0x140
[<c0478aef>] ? wake_up_process+0x1f/0x40
[<c0464495>] process_one_work+0x115/0x370
[<c0462645>] ? start_worker+0x25/0x30
[<c0464dc5>] ? manage_workers.isra.27+0x1a5/0x250
[<c0464f6e>] worker_thread+0xfe/0x330
[<c0464e70>] ? manage_workers.isra.27+0x250/0x250
[<c046a224>] kthread+0x94/0xa0
[<c0997f37>] ret_from_kernel_thread+0x1b/0x28
[<c046a190>] ? insert_kthread_work+0x30/0x30
This patch removes pci_disable_device() from __e100_shutdown().
pci_clear_master() is enough.
Signed-off-by: Michele Baldessari <michele@acksyn.org>
Tested-by: Mark Harig <idirectscm@aim.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-31 09:58:14 -07:00
..
2014-03-23 21:38:17 -07:00
2014-03-23 21:38:16 -07:00
2013-12-08 07:29:25 -08:00
2013-12-04 10:56:59 -08:00
2013-05-17 14:31:05 -04:00
2014-02-22 12:41:25 -08:00
2013-10-13 16:08:32 -07:00
2013-07-13 11:42:26 -07:00
2014-02-22 12:41:27 -08:00
2014-01-15 15:28:52 -08:00
2014-01-15 15:28:45 -08:00
2013-12-08 07:29:25 -08:00
2014-03-06 21:30:09 -08:00
2013-09-26 17:18:02 -07:00
2013-08-04 16:50:57 +08:00
2014-03-06 21:30:14 -08:00
2014-03-06 21:30:13 -08:00
2014-02-13 13:47:59 -08:00
2013-05-09 09:59:16 -07:00
2014-03-23 21:38:16 -07:00
2013-11-29 11:11:53 -08:00
2014-01-15 15:28:45 -08:00
2014-03-23 21:38:17 -07:00
2014-01-15 15:28:45 -08:00
2014-02-22 12:41:28 -08:00
2014-03-06 21:30:11 -08:00
2013-05-07 14:01:27 -07:00
2014-02-13 13:48:03 -08:00
2013-05-07 02:16:21 -04:00
2014-01-09 12:24:21 -08:00
2014-03-06 21:30:11 -08:00
2014-03-23 21:38:22 -07:00
2014-03-31 09:58:14 -07:00
2014-02-13 13:47:59 -08:00
2014-03-06 21:30:12 -08:00
2013-12-08 07:29:25 -08:00
2013-09-26 17:18:27 -07:00
2013-05-08 10:49:18 +09:30
2013-08-11 18:35:20 -07:00
2014-03-23 21:38:18 -07:00
2014-03-31 09:58:12 -07:00
2013-05-18 11:55:52 +02:00
2013-05-07 02:16:21 -04:00
2013-05-08 10:13:35 -07:00
2014-02-13 13:48:03 -08:00
2014-03-06 21:30:10 -08:00
2014-02-13 13:48:00 -08:00
2014-02-13 13:48:00 -08:00
2014-03-31 09:58:14 -07:00
2013-05-21 10:48:41 +02:00
2013-11-13 12:05:35 +09:00
2013-05-04 14:47:26 -04:00
2014-02-22 12:41:27 -08:00
2013-08-11 18:35:21 -07:00
2014-02-06 11:08:15 -08:00
2014-03-23 21:38:18 -07:00
2013-07-21 18:21:25 -07:00
2014-02-20 11:06:11 -08:00
2014-02-06 11:08:16 -08:00
2014-03-23 21:38:22 -07:00
2014-02-22 12:41:29 -08:00
2013-05-01 17:51:54 -07:00
2013-05-25 21:24:15 -07:00
2013-05-18 11:55:58 +02:00
2014-03-23 21:38:09 -07:00
2014-03-31 09:58:13 -07:00
2013-05-07 14:04:56 -07:00
2013-05-07 14:02:00 -07:00
2014-02-13 13:48:03 -08:00
2014-03-23 21:38:20 -07:00
2014-03-23 21:38:19 -07:00
2014-03-23 21:38:16 -07:00
2013-05-09 10:15:46 -07:00
2014-03-06 21:30:11 -08:00
2014-03-23 21:38:21 -07:00
2013-05-18 11:57:30 +02:00
2014-02-22 12:41:27 -08:00
2013-11-13 12:05:33 +09:00
2014-03-31 09:58:14 -07:00
2013-04-29 18:28:43 -07:00
2013-06-05 08:54:16 -06:00
2013-11-13 12:05:32 +09:00
2013-12-08 07:29:27 -08:00
2013-07-28 16:29:55 -07:00
2014-02-22 12:41:28 -08:00
2013-05-18 11:58:03 +02:00
2013-12-20 07:45:11 -08:00
2013-12-11 22:36:27 -08:00
2013-05-01 17:29:18 -04:00
2013-05-04 12:31:18 -07:00
2013-05-04 12:31:18 -07:00