]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mei: bus: don't enable events implicitly in device enable
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 23 Jul 2015 12:08:37 +0000 (15:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Aug 2015 00:20:26 +0000 (17:20 -0700)
commit7e280ab694e2885ee300de9cf5e7047c68230148
treecfbbd3b0ddb5a01035e53766578feacd45bdd7b6
parent38d3c00d3f312989e50aaf6f4a4b490b4e1e4c37
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>
drivers/misc/mei/bus.c