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
..
2013-05-11 17:40:14 -07:00
2013-04-29 11:18:34 -07:00
2013-04-19 14:46:06 -04:00
2013-05-08 13:13:30 -07:00
2013-03-17 12:50:24 -04:00
2013-04-19 14:46:06 -04:00
2013-05-01 14:08:52 -07:00
2013-05-23 12:15:32 -07:00
2013-08-11 18:35:26 -07:00
2014-03-23 21:38:11 -07:00
2013-06-16 08:10:53 -10:00
2013-07-28 16:29:55 -07:00
2013-05-11 16:28:23 -07:00
2013-11-20 12:27:46 -08:00
2013-03-29 15:40:24 -04:00
2013-04-19 14:46:06 -04:00
2013-04-01 13:36:50 -04:00
2013-06-13 17:09:40 -07:00
2013-03-09 16:09:19 -05:00
2013-11-04 04:31:04 -08:00
2013-03-18 13:02:37 -04:00
2014-01-15 15:28:48 -08:00
2013-05-01 14:08:52 -07:00
2012-12-07 14:22:22 -05:00
2013-03-09 16:09:19 -05:00
2014-01-15 15:28:45 -08:00
2013-05-15 14:42:14 -07:00
2014-03-31 09:58:14 -07:00
2013-11-04 04:31:00 -08:00
2013-12-08 07:29:23 -08:00
2013-04-16 16:30:51 -04:00
2013-04-07 16:48:19 -04:00
2013-04-19 14:46:06 -04:00
2013-04-19 14:46:06 -04:00
2013-04-19 14:46:06 -04:00
2013-03-15 08:56:58 -04:00
2013-04-19 14:46:06 -04:00
2013-04-02 16:43:56 -04:00
2013-06-19 22:12:48 -07:00
2013-04-16 16:43:35 -04:00
2013-02-21 12:05:51 -08:00
2013-03-17 12:50:24 -04:00
2013-06-24 00:28:28 -07:00
2013-03-09 16:09:19 -05:00
2013-12-08 07:29:26 -08:00
2013-06-24 00:10:21 -07:00
2013-03-09 16:09:19 -05:00
2014-03-23 21:38:10 -07:00
2013-03-17 12:50:24 -04:00
2013-02-21 12:05:51 -08:00
2013-04-15 14:11:37 -04:00
2013-12-11 22:36:27 -08:00
2013-06-19 18:40:21 -07:00
2013-07-28 16:29:57 -07:00
2014-01-15 15:28:45 -08:00
2013-11-04 04:31:05 -08:00
2013-05-02 16:20:31 -04:00
2013-05-08 13:13:29 -07:00
2013-03-17 12:50:24 -04:00
2014-02-06 11:08:16 -08:00
2013-03-26 12:47:17 -04:00
2014-01-15 15:28:45 -08:00
2013-05-01 14:08:52 -07:00
2013-01-14 15:11:50 -05:00
2013-01-14 15:11:50 -05:00
2013-01-29 14:07:05 -05:00
2012-12-07 14:22:22 -05:00
2013-04-19 14:46:06 -04:00
2013-01-22 10:39:52 -05:00
2013-05-23 12:15:32 -07:00
2013-03-21 11:50:10 -04:00
2013-01-22 10:39:52 -05:00
2013-03-09 16:09:19 -05:00
2013-03-22 10:23:42 -04:00