]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Intel: HDA: add hw params callback for SSP DAIs
authorJaska Uimonen <jaska.uimonen@linux.intel.com>
Fri, 26 Mar 2021 16:51:49 +0000 (18:51 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 29 Mar 2021 16:28:18 +0000 (17:28 +0100)
commit7f39e901f881ee7eee32354576688791c72e37f4
tree26eb56e3bf48123e0093f684315c7634dbe873a5
parentf8f29fff90318b64de167fbd0119bedfe6cb9ec7
ASoC: SOF: Intel: HDA: add hw params callback for SSP DAIs

Currently SSP DAIs don't have hw params callback function as there
wasn't anything to setup after initial topology loading. After enabling
multiple DAI configs the current config can be sent in the callback.

This patch changes the way SSP config ipc is sent to the dsp. Before it
was only sent once in topology loading, but now it will be additionally
sent always when stream is opened. Mechanism is similar as with HDA
DAIs.

Signed-off-by: Jaska Uimonen <jaska.uimonen@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20210326165150.255533-2-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-dai.c