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

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

Merge "msm: sps: Assign proper BAM destination values"

parents afc7c61a f5e5a5d6
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -899,14 +899,12 @@ int sps_bam_pipe_connect(struct sps_pipe *bam_pipe,
					peer_bam->props.phys_addr;
		}
		if (!(bam_pipe->connect.options & SPS_O_DUMMY_PEER)) {
			hw_params.peer_pipe = other_pipe->pipe_index;
		} else {
			hw_params.peer_phys_addr =
					bam_pipe->connect.destination;
			hw_params.peer_pipe =
					bam_pipe->connect.dest_pipe_index;
		} else {
			hw_params.peer_phys_addr =
					bam_pipe->connect.destination;
			hw_params.peer_pipe = other_pipe->pipe_index;
			hw_params.dummy_peer = true;
		}
		/* Verify FIFO buffers are allocated for BAM-to-BAM pipes */