summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/misc/mei/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/misc/mei/main.c')
-rw-r--r--kernel/drivers/misc/mei/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/drivers/misc/mei/main.c b/kernel/drivers/misc/mei/main.c
index 80f9afcb1..4ef189a7a 100644
--- a/kernel/drivers/misc/mei/main.c
+++ b/kernel/drivers/misc/mei/main.c
@@ -207,7 +207,7 @@ static ssize_t mei_read(struct file *file, char __user *ubuf,
mutex_lock(&dev->device_lock);
if (!mei_cl_is_connected(cl)) {
- rets = -EBUSY;
+ rets = -ENODEV;
goto out;
}
}