aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/amthif.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2013-05-12 08:34:46 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-21 12:39:56 -0400
commit6220d6a05089220d913701416ab9423af23cd1bb (patch)
treed303e2c69f00e578a9ea7dcf69d427009b40610b /drivers/misc/mei/amthif.c
parentdb086fa926e57e1bd70e8c41235d230b3caa5e99 (diff)
mei: revamp interrupt thread handlers
1. Use common prefix mei_cl_irq_ and common parameter list for client handlers. 2. Update function kdocs 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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/misc/mei/amthif.c b/drivers/misc/mei/amthif.c
index b3e50984d2c8..749452f8e2f6 100644
--- a/drivers/misc/mei/amthif.c
+++ b/drivers/misc/mei/amthif.c
@@ -443,11 +443,11 @@ unsigned int mei_amthif_poll(struct mei_device *dev,
443 * 443 *
444 * returns 0, OK; otherwise, error. 444 * returns 0, OK; otherwise, error.
445 */ 445 */
446int mei_amthif_irq_write_complete(struct mei_device *dev, s32 *slots, 446int mei_amthif_irq_write_complete(struct mei_cl *cl, struct mei_cl_cb *cb,
447 struct mei_cl_cb *cb, struct mei_cl_cb *cmpl_list) 447 s32 *slots, struct mei_cl_cb *cmpl_list)
448{ 448{
449 struct mei_device *dev = cl->dev;
449 struct mei_msg_hdr mei_hdr; 450 struct mei_msg_hdr mei_hdr;
450 struct mei_cl *cl = cb->cl;
451 size_t len = dev->iamthif_msg_buf_size - dev->iamthif_msg_buf_index; 451 size_t len = dev->iamthif_msg_buf_size - dev->iamthif_msg_buf_index;
452 u32 msg_slots = mei_data2slots(len); 452 u32 msg_slots = mei_data2slots(len);
453 453