ASoC: stm32: do not request a new clock consummer reference
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 28 Apr 2021 12:26:31 +0000 (14:26 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 28 Apr 2021 15:34:53 +0000 (16:34 +0100)
commita0695853e5906a9558eef9f79856e07659b7a1e6
treef4e8a76b71c6d388a9cb7226694eec23b787f946
parent6c9762a78c325107dc37d20ee21002b841679209
ASoC: stm32: do not request a new clock consummer reference

This reverts commit 65d1cce726d4912793d0a84c55ecdb0ef5832130.

There is problem with clk_hw_get_hw(). Using it pins the clock provider to
itself, making it impossible to remove the module.

Revert commit 65d1cce726d4 ("ASoC: stm32: properly get clk from the
provider") until this gets sorted out.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20210428122632.46244-2-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/stm/stm32_sai_sub.c