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>
Wed, 1 Jun 2016 19:15:50 +0000 (12:15 -0700)
commit40f9ca60c564ab71221f5b7c7da58e476cef39d5
tree679e529a0b42d91c6757e092b2839710c4e9e163
parent2e6440e92503f08fe016f187a6534099e16ca4e9
mei: bus: call mei_cl_read_start under device lock

commit bc46b45a421a64a0895dd41a34d3d2086e1ac7f6 upstream.

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.

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