Unverified Commit d95610a1 authored by YC Hung's avatar YC Hung Committed by Mark Brown
Browse files

ASoC: SOF: Add cont_update_posn to platform parameters

parent e5169950
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -115,6 +115,9 @@ static int sof_ipc3_pcm_hw_params(struct snd_soc_component *component,
			pcm.params.no_stream_position = 1;
	}

	if (platform_params->cont_update_posn)
		pcm.params.cont_update_posn = 1;

	dev_dbg(component->dev, "stream_tag %d", pcm.params.stream_tag);

	/* send hw_params IPC to the DSP */
+1 −0
Original line number Diff line number Diff line
@@ -126,6 +126,7 @@ struct snd_sof_platform_stream_params {
	bool use_phy_address;
	u32 phy_addr;
	bool no_ipc_position;
	bool cont_update_posn;
};

/*