summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/amthif.c
diff options
context:
space:
mode:
authorAlexander Usyskin <alexander.usyskin@intel.com>2016-11-08 18:26:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-10 13:18:02 +0100
commite0cb6b2f878d210441e8ed232e98454ccc7fd812 (patch)
treea91647d2619efa0ac48d57a44585073bbb078542 /drivers/misc/mei/amthif.c
parentfe948dcb2c1223c0da4bc304d87d0253fa06094e (diff)
downloadblackbird-op-linux-e0cb6b2f878d210441e8ed232e98454ccc7fd812.tar.gz
blackbird-op-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/amthif.c')
-rw-r--r--drivers/misc/mei/amthif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mei/amthif.c b/drivers/misc/mei/amthif.c
index 7ae89b4a21d5..466afb2611c6 100644
--- a/drivers/misc/mei/amthif.c
+++ b/drivers/misc/mei/amthif.c
@@ -144,7 +144,7 @@ int mei_amthif_run_next_cmd(struct mei_device *dev)
dev->iamthif_state = MEI_IAMTHIF_WRITING;
cl->fp = cb->fp;
- ret = mei_cl_write(cl, cb, false);
+ ret = mei_cl_write(cl, cb);
if (ret < 0)
return ret;
OpenPOWER on IntegriCloud