diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2016-05-09 00:07:46 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-10 22:14:24 -0700 |
commit | 69f1804a9ab602701217a8c23d371f8f36f8b57a (patch) | |
tree | 5dd7735eb94cda8e79e5af1084e3ca1017dfb3cf /drivers/misc | |
parent | af8c34ce6ae32addda3788d54a7e340cad22516b (diff) | |
download | op-kernel-dev-69f1804a9ab602701217a8c23d371f8f36f8b57a.zip op-kernel-dev-69f1804a9ab602701217a8c23d371f8f36f8b57a.tar.gz |
mei: don't use wake_up_interruptible for wr_ctrl
wr_ctrl waiters are none interruptible, so should be waken up
with call to wake_up and not to wake_up_interruptible.
This fixes commit:
7ff4bdd ("mei: fix waiting for wr_ctrl for corner cases.")
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>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/mei/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mei/client.c b/drivers/misc/mei/client.c index eed254d..641c1a5 100644 --- a/drivers/misc/mei/client.c +++ b/drivers/misc/mei/client.c @@ -730,7 +730,7 @@ static void mei_cl_wake_all(struct mei_cl *cl) /* synchronized under device mutex */ if (waitqueue_active(&cl->wait)) { cl_dbg(dev, cl, "Waking up ctrl write clients!\n"); - wake_up_interruptible(&cl->wait); + wake_up(&cl->wait); } } |