diff options
Diffstat (limited to 'drivers/misc/mei/bus.c')
-rw-r--r-- | drivers/misc/mei/bus.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/mei/bus.c b/drivers/misc/mei/bus.c index 1e935eacaa7f..9ecd49a7be1b 100644 --- a/drivers/misc/mei/bus.c +++ b/drivers/misc/mei/bus.c | |||
@@ -496,6 +496,8 @@ int mei_cl_disable_device(struct mei_cl_device *device) | |||
496 | } | 496 | } |
497 | } | 497 | } |
498 | 498 | ||
499 | device->event_cb = NULL; | ||
500 | |||
499 | mutex_unlock(&dev->device_lock); | 501 | mutex_unlock(&dev->device_lock); |
500 | 502 | ||
501 | if (!device->ops || !device->ops->disable) | 503 | if (!device->ops || !device->ops->disable) |