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

Commit 4d634746 authored by Yan He's avatar Yan He
Browse files

msm: sps: remove invalid checking



Zero is a valid physical address of IOVECs. Remove this invalid
checking in the transfer function.

Change-Id: Ia51958baca0e68e96359c974b9170ce439858839
Signed-off-by: default avatarYan He <yanhe@codeaurora.org>
parent db538334
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1596,10 +1596,6 @@ int sps_transfer(struct sps_pipe *h, struct sps_transfer *transfer)
	} else if (transfer->iovec_count == 0) {
		SPS_ERR(sps, "sps:%s:iovec list is empty.\n", __func__);
		return SPS_ERROR;
	} else if (transfer->iovec_phys == 0) {
		SPS_ERR(sps,
			"sps:%s:iovec list address is invalid.\n", __func__);
		return SPS_ERROR;
	}

	/* Verify content of IOVECs */