ASoC: da7219: do not request a new clock consummer reference
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 28 Apr 2021 12:26:32 +0000 (14:26 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 28 Apr 2021 15:34:54 +0000 (16:34 +0100)
commit97c733654ab4a5ac910216b4b74e605acf3e1cce
tree9afe194a738d9d053bc051826251d16dbaa9bbef
parenta0695853e5906a9558eef9f79856e07659b7a1e6
ASoC: da7219: do not request a new clock consummer reference

This reverts commit 12f8127fe9e6154dd4197df97e44f3fd67583071.

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 12f8127fe9e6 ("ASoC: da7219: properly get clk from the
provider") until this gets sorted out.

Reported-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Tested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210428122632.46244-3-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/da7219.c