Skip to content

ASoC: nau8822: add MCLK support

Andrejs Cainikovs linux-sound lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v12 patches 1 replySuperseded

Changes in v2 from the cover letter

- Fixes the issue of unbalanced clock enable and disable which resulted in a negative clock reference count. This triggered "already disabled" warning when the system was suspended.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: nau8822: move nau8822_set_dai_sysclk()sound/soc/codecs/nau8822.c+14 -140 replies
2/3ASoC: nau8822: set NAU8822_REFIMP_80K only oncesound/soc/codecs/nau8822.c+2 -00 replies
3/3ASoC: nau8822: add MCLK supportsound/soc/codecs/nau8822.c sound/soc/codecs/nau8822.h+45 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] ASoC: nau8822: add MCLK support

From: Andrejs Cainikovs <[email protected]>

This change adds local MCLK handling, which would cover a case when a reference audio clock is present in a system, but is not allowed to be changed, see [1].

[1]: https://lore.kernel.org/all/[email protected]/

v1:
- https://lore.kernel.org/all/[email protected]/

v2:
- Fixes the issue of unbalanced clock enable and disable which resulted in a negative clock reference count. This triggered "already disabled" warning when the system was suspended.

Andrejs Cainikovs (3):
ASoC: nau8822: move nau8822_set_dai_sysclk()
ASoC: nau8822: set NAU8822_REFIMP_80K only once
ASoC: nau8822: add MCLK support

 sound/soc/codecs/nau8822.c | 76 +++++++++++++++++++++++++++++---------
 sound/soc/codecs/nau8822.h |  1 +
 2 files changed, 60 insertions(+), 17 deletions(-)
Signature · 1 line
2.34.1