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
@@ -211,6 +211,9 @@ void mei_stop(struct mei_device *dev)
|
||||
mutex_unlock(&dev->device_lock);
|
||||
|
||||
flush_scheduled_work();
|
||||
|
||||
mei_watchdog_unregister(dev);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user