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

Commit ca96b402 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 628665d2 57612c99
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -243,7 +243,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)
@@ -302,7 +302,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)