mei: unregister watchdog from mei_stop function
we need to unregister watchdog device both in suspend and remove as the registration is recreated on reset Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
cea6aec451
commit
2e64712450
@@ -253,8 +253,6 @@ static void mei_remove(struct pci_dev *pdev)
|
||||
|
||||
mei_pdev = NULL;
|
||||
|
||||
mei_watchdog_unregister(dev);
|
||||
|
||||
/* disable interrupts */
|
||||
mei_disable_interrupts(dev);
|
||||
|
||||
|
Reference in New Issue
Block a user