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

Commit 683b63ae authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "diag: Do not prevent HSIC suspend in special cases"

parents d94ca016 9460a175
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -430,14 +430,6 @@ static int diag_hsic_suspend(void *ctxt)
	if (diag_hsic[index].in_busy_hsic_write)
		return -EBUSY;

	/*
	 * Don't allow suspend if in MEMORY_DEVICE_MODE and if there
	 * has been hsic data requested
	 */
	if (driver->logging_mode == MEMORY_DEVICE_MODE &&
				diag_hsic[index].hsic_ch)
		return -EBUSY;

	diag_hsic[index].hsic_suspend = 1;

	return 0;