|
@@ -1331,6 +1331,9 @@ int mei_cl_notify_request(struct mei_cl *cl,
|
|
return -EOPNOTSUPP;
|
|
return -EOPNOTSUPP;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if (!mei_cl_is_connected(cl))
|
|
|
|
+ return -ENODEV;
|
|
|
|
+
|
|
rets = pm_runtime_get(dev->dev);
|
|
rets = pm_runtime_get(dev->dev);
|
|
if (rets < 0 && rets != -EINPROGRESS) {
|
|
if (rets < 0 && rets != -EINPROGRESS) {
|
|
pm_runtime_put_noidle(dev->dev);
|
|
pm_runtime_put_noidle(dev->dev);
|