mei: bus: don't enable events implicitly in device enable

Do not enable events implicitly in mei_cl_enable_device, it should be
done explicitly using mei_cl_register_event_cb so the events
are enabled only when needed.
The NFC drivers has been already using it that way so no need for
further changes just remove the code from mei_cl_enable_device.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Tomas Winkler 2015-07-23 15:08:37 +03:00 committed by Greg Kroah-Hartman
parent 38d3c00d3f
commit 7e280ab694
1 changed files with 0 additions and 3 deletions

View File

@ -332,9 +332,6 @@ int mei_cl_enable_device(struct mei_cl_device *cldev)
mutex_unlock(&bus->device_lock);
if (cldev->event_cb)
mei_cl_read_start(cldev->cl, 0, NULL);
return 0;
}
EXPORT_SYMBOL_GPL(mei_cl_enable_device);