diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2013-09-16 22:44:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 17:42:02 +0200 |
commit | 136698e535cd1ce59e436cc084b41370fd8f1eff (patch) | |
tree | 4f0b6e33c8b2c0250b8b16e9515fea84a3b23984 /drivers/misc/mei/interrupt.c | |
parent | mei: propagate error from write routines instead of ENODEV (diff) | |
download | linux-136698e535cd1ce59e436cc084b41370fd8f1eff.tar.xz linux-136698e535cd1ce59e436cc084b41370fd8f1eff.zip |
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) cl = cb->cl; if (cl == NULL) continue; - if (mei_cl_flow_ctrl_creds(cl) <= 0) { - cl_dbg(dev, cl, "No flow control credentials, not sending.\n"); - continue; - } - if (cl == &dev->iamthif_cl) ret = mei_amthif_irq_write_complete(cl, cb, &slots, cmpl_list); |