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

Commit a3d6a873 authored by Bar Weiner's avatar Bar Weiner
Browse files

usb: bam: Store memory buffers info for future queries



In order to configure USB EP with a specific pipe, the
data and descriptors memory buffers are required. To
retrieve this information using get_bam2bam_connection_info()
we must store this information when the pipes are connected.

Change-Id: I422d491be38a65da5888b8a2c111b155b754b6e2
Signed-off-by: default avatarBar Weiner <bweiner@codeaurora.org>
parent cc38f099
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -589,6 +589,9 @@ static int connect_pipe_ipa(u8 idx,
		sps_connection->options = 0;
	}

	pipe_connect->data_mem_buf = sps_out_params.data;
	pipe_connect->desc_mem_buf = sps_out_params.desc;

	sps_connection->data = sps_out_params.data;
	sps_connection->desc = sps_out_params.desc;
	sps_connection->event_thresh = 16;