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

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

Merge "drivers: mailbox: qti_tcs: Return ETIMEDOUT instead of EIO" into msm-4.9

parents c1a184f2 693cdec6
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -440,7 +440,6 @@ static void tcs_notify_timeout(struct work_struct *work)
	struct tcs_mbox_msg *msg = resp->msg;
	struct tcs_drv *drv = resp->drv;
	int m = resp->m;
	int err = -EIO;

	/*
	 * In case the RPMH resource fails to respond to the completion
@@ -471,7 +470,7 @@ static void tcs_notify_timeout(struct work_struct *work)
	}

	free_response_to_pool(resp);
	mbox_notify_tx_done(chan, msg, -1, err);
	mbox_notify_tx_done(chan, msg, -1, -ETIMEDOUT);
}

static void __tcs_buffer_write(struct tcs_drv *drv, int d, int m, int n,