summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/main.c
diff options
context:
space:
mode:
authorAlexander Usyskin2016-11-08 17:26:08 +0100
committerGreg Kroah-Hartman2016-11-10 13:18:02 +0100
commite0cb6b2f878d210441e8ed232e98454ccc7fd812 (patch)
treea91647d2619efa0ac48d57a44585073bbb078542 /drivers/misc/mei/main.c
parentthunderbolt: Macro rename (diff)
downloadkernel-qcow2-linux-e0cb6b2f878d210441e8ed232e98454ccc7fd812.tar.gz
kernel-qcow2-linux-e0cb6b2f878d210441e8ed232e98454ccc7fd812.tar.xz
kernel-qcow2-linux-e0cb6b2f878d210441e8ed232e98454ccc7fd812.zip
mei: enable to set the internal flag for client write
Prepare the client write functions to set the internal flag in message header. Carry both blocking and internal modes inside the transmit cb, and call internal bus function __mei_cl_send() with send mode bit mask. The Internal flag should be added only on messages generated by the driver. 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/mei/main.c')
-rw-r--r--drivers/misc/mei/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c
index a1484574cfa8..e1bf54481fd6 100644
--- a/drivers/misc/mei/main.c
+++ b/drivers/misc/mei/main.c
@@ -322,7 +322,7 @@ static ssize_t mei_write(struct file *file, const char __user *ubuf,
goto out;
}
- rets = mei_cl_write(cl, cb, false);
+ rets = mei_cl_write(cl, cb);
out:
mutex_unlock(&dev->device_lock);
return rets;