mei: enable to set the internal flag for client write
authorAlexander Usyskin <alexander.usyskin@intel.com>
Tue, 8 Nov 2016 16:26:08 +0000 (18:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2016 12:18:02 +0000 (13:18 +0100)
commite0cb6b2f878d210441e8ed232e98454ccc7fd812
treea91647d2619efa0ac48d57a44585073bbb078542
parentfe948dcb2c1223c0da4bc304d87d0253fa06094e
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>
drivers/misc/mei/amthif.c
drivers/misc/mei/bus-fixup.c
drivers/misc/mei/bus.c
drivers/misc/mei/client.c
drivers/misc/mei/client.h
drivers/misc/mei/main.c
drivers/misc/mei/mei_dev.h