Home
last modified time | relevance | path

Searched hist:c943a586f6e49998b323afbd7f788afabf6ed89b (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/soc/sof/
H A Dpcm.cdiff c943a586f6e49998b323afbd7f788afabf6ed89b Fri Mar 26 11:51:50 CDT 2021 Jaska Uimonen <jaska.uimonen@linux.intel.com> ASoC: SOF: match SSP config with pcm hw params

This patch adds a function to find a match between pcm hw params and SSP
DAI config. Config is matched against sample rate and if match is found
current config is set. If match isn't found last matched config is left
as current i.e. current config is not touched. Functionality for SSP
DAIs with 1 config remains the same as before.

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-3-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>