diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2013-09-16 16:44:44 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 11:42:02 -0400 |
commit | 136698e535cd1ce59e436cc084b41370fd8f1eff (patch) | |
tree | 4f0b6e33c8b2c0250b8b16e9515fea84a3b23984 /drivers/misc/mei/interrupt.c | |
parent | 2ebf8c94d431078d93599ba56efa58bf850078a1 (diff) |
mei: push credentials inside the irq write handler
this eventually allows as use a single write queue
both for control and data messages and removing possible
race
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/interrupt.c')
-rw-r--r-- | drivers/misc/mei/interrupt.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/misc/mei/interrupt.c b/drivers/misc/mei/interrupt.c index e4bb9aee40a1..7a95c07e59a6 100644 --- a/drivers/misc/mei/interrupt.c +++ b/drivers/misc/mei/interrupt.c | |||
@@ -513,11 +513,6 @@ int mei_irq_write_handler(struct mei_device *dev, struct mei_cl_cb *cmpl_list) | |||
513 | cl = cb->cl; | 513 | cl = cb->cl; |
514 | if (cl == NULL) | 514 | if (cl == NULL) |
515 | continue; | 515 | continue; |
516 | if (mei_cl_flow_ctrl_creds(cl) <= 0) { | ||
517 | cl_dbg(dev, cl, "No flow control credentials, not sending.\n"); | ||
518 | continue; | ||
519 | } | ||
520 | |||
521 | if (cl == &dev->iamthif_cl) | 516 | if (cl == &dev->iamthif_cl) |
522 | ret = mei_amthif_irq_write_complete(cl, cb, | 517 | ret = mei_amthif_irq_write_complete(cl, cb, |
523 | &slots, cmpl_list); | 518 | &slots, cmpl_list); |