]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Skylake: Correct the ssp rate discovery in skl_get_ssp_clks()
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Thu, 30 Jun 2022 06:56:37 +0000 (09:56 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 7 Jul 2022 16:16:39 +0000 (17:16 +0100)
commit7cab5d2ff05f28a97e2a8603be1ae5846ed2001c
tree8a1a619d524794ceeaddfdeb08e370ae04a20b73
parentb39d3a833a326a1674b6bb99f7c425f2f80a892b
ASoC: Intel: Skylake: Correct the ssp rate discovery in skl_get_ssp_clks()

The present flag is only set once when one rate has been found to be saved.
This will effectively going to ignore any rate discovered at later time and
based on the code, this is not the intention.

Fixes: 79f91cd9defc6 ("ASoC: Intel: Skylake: Parse nhlt and register clock device")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220630065638.11183-2-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/skylake/skl-nhlt.c