Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c1a820a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mhi: cntrl: return EBUSY from runtime pm ops in error scenarios"

parents 5c29d7c9 d206e476
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -236,7 +236,7 @@ static int mhi_runtime_suspend(struct device *dev)
	mutex_unlock(&mhi_cntrl->pm_mutex);
	MHI_LOG("Exited with ret:%d\n", ret);

	return ret;
	return (ret < 0) ? -EBUSY : 0;
}

static int mhi_runtime_idle(struct device *dev)
@@ -294,7 +294,7 @@ static int mhi_runtime_resume(struct device *dev)
	mutex_unlock(&mhi_cntrl->pm_mutex);
	MHI_LOG("Exited with :%d\n", ret);

	return ret;
	return (ret < 0) ? -EBUSY : 0;
}

static int mhi_system_resume(struct device *dev)