mei: bus: call mei_cl_read_start under device lock
authorAlexander Usyskin <alexander.usyskin@intel.com>
Tue, 3 May 2016 22:54:21 +0000 (18:54 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 May 2016 22:07:35 +0000 (15:07 -0700)
commitbc46b45a421a64a0895dd41a34d3d2086e1ac7f6
treea42d7a4505ae9eb5ef4ed5f305f4c680ade6151c
parentbedffda8cad46bedb6880bb98c23c51c715216c3
mei: bus: call mei_cl_read_start under device lock

Ensure that mei_cl_read_start is called under the device lock
also in the bus layer. The function updates global ctrl_wr_list
which should be locked.

Cc: <stable@vger.kernel.org> #4.4+
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/bus.c