Skip to content

ASoC: clock provider clean-up

Jerome Brunet alsa-devel lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 7 repliesIn review
  2. v15 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5ASoC: stm32: properly get clk from the providersound/soc/stm/stm32_sai_sub.c+4 -10 replies
2/5ASoC: wcd934x: use the clock provider APIsound/soc/codecs/wcd934x.c+4 -20 replies
3/5ASoC: rt5682: clock driver must use the clock provider APIsound/soc/codecs/rt5682.c+3 -30 replies
4/5ASoC: lpass: use the clock provider APIsound/soc/codecs/lpass-va-macro.c sound/soc/codecs/lpass-wsa-macro.c+5 -130 replies
5/5ASoC: da7219: properly get clk from the providersound/soc/codecs/da7219.c+4 -16 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchStephen Boyd
1/5R-b
2/5R-b
3/5
4/5
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [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/[email protected]

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(-)
Signature · 1 line
2.31.1