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

Commit 5fd9567d authored by Jeff Hugo's avatar Jeff Hugo
Browse files

soc: qcom: bam_dmux: Use bam_ops function pointers for sps resets



All SPS reset calls should use the function pointer found in the bam_ops
structure so that the calls can be intercepted by a dynamically loadable
loopback test module.

Change-Id: I1643f93587a5128625908dd2f4561216e5630085
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 47d53bf2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1848,7 +1848,7 @@ static void disconnect_to_bam(void)
		memset(rx_desc_mem_buf.base, 0, rx_desc_mem_buf.size);
		memset(tx_desc_mem_buf.base, 0, tx_desc_mem_buf.size);
		BAM_DMUX_LOG("%s: device reset\n", __func__);
		sps_device_reset(a2_device_handle);
		bam_ops->sps_device_reset_ptr(a2_device_handle);
	} else {
		ssr_skipped_disconnect = 1;
	}