summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mei/interrupt.c
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2013-09-16 22:44:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-26 17:42:02 +0200
commit136698e535cd1ce59e436cc084b41370fd8f1eff (patch)
tree4f0b6e33c8b2c0250b8b16e9515fea84a3b23984 /drivers/misc/mei/interrupt.c
parentmei: propagate error from write routines instead of ENODEV (diff)
downloadlinux-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.c5
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);