diff options
author | Alexander Usyskin <alexander.usyskin@intel.com> | 2016-11-08 18:26:08 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-10 13:18:02 +0100 |
commit | e0cb6b2f878d210441e8ed232e98454ccc7fd812 (patch) | |
tree | a91647d2619efa0ac48d57a44585073bbb078542 /drivers/misc/mei/main.c | |
parent | fe948dcb2c1223c0da4bc304d87d0253fa06094e (diff) | |
download | lwn-e0cb6b2f878d210441e8ed232e98454ccc7fd812.tar.gz lwn-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.c | 2 |
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; |