]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mei: bus: Reset event_cb when disabling a device
authorSamuel Ortiz <sameo@linux.intel.com>
Tue, 21 May 2013 16:52:09 +0000 (18:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 May 2013 16:57:55 +0000 (09:57 -0700)
commitbbedf2fc207bbd89c109123caee7cf0497030762
tree0f344563c17bdb3796793314a9a019251ebbcfea
parentd2242a384355773c711a936522bcfae0f35f8c2a
mei: bus: Reset event_cb when disabling a device

After cancelling all reads from the disable hook, we need to reset the
event_cb pointer as well or else we won't be able to set a new one up
when re-enabling the device.

Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/bus.c