[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210421120512.413057-1-jbrunet@baylibre.com>
Date: Wed, 21 Apr 2021 14:05:07 +0200
From: Jerome Brunet <jbrunet@...libre.com>
To: Mark Brown <broonie@...nel.org>
Cc: Jerome Brunet <jbrunet@...libre.com>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org, Stephen Boyd <sboyd@...nel.org>
Subject: [PATCH v2 0/5] ASoC: clock provider clean-up
The purpose of this patchset it remove the use the clk member of
'struct clk_hw' in ASoC. 'struct clk' is a per-user reference to an actual
clock. In the future, the clk member in 'struct clk_hw' may go away.
The usage of this member by a clock provider usually falls into either of
following categories:
* Mis-usage of the clock consumer API by a clock provider.
* Clock provider also being a user of its own clocks. In this case the
provider should request a 'struct clk' through the appropriate API
instead of poking in 'struct clk_hw' internals.
v1 [0] -> v2:
* finalize lpass provider move to devm
[0]: https://lore.kernel.org/r/20210410111356.467340-1-jbrunet@baylibre.com
Jerome Brunet (5):
ASoC: stm32: properly get clk from the provider
ASoC: wcd934x: use the clock provider API
ASoC: rt5682: clock driver must use the clock provider API
ASoC: lpass: use the clock provider API
ASoC: da7219: properly get clk from the provider
sound/soc/codecs/da7219.c | 5 ++++-
sound/soc/codecs/lpass-va-macro.c | 7 ++-----
sound/soc/codecs/lpass-wsa-macro.c | 11 +++--------
sound/soc/codecs/rt5682.c | 6 +++---
sound/soc/codecs/wcd934x.c | 6 ++++--
sound/soc/stm/stm32_sai_sub.c | 5 ++++-
6 files changed, 20 insertions(+), 20 deletions(-)
--
2.31.1
Powered by blists - more mailing lists