Skip to content

ASoC: da7219: Reorganise device/codec level probe/remove

Adam Thomson alsa-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: da7219: Move required devm_* allocations to device level codesound/soc/codecs/da7219-aad.c sound/soc/codecs/da7219-aad.h sound/soc/codecs/da7219.c+70 -480 replies
2/3ASoC: da7219: Move soft reset handling to codec level probesound/soc/codecs/da7219.c+188 -1830 replies
3/3ASoC: da7219: Fix clock handling around codec level probesound/soc/codecs/da7219.c sound/soc/codecs/da7219.h+72 -250 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] ASoC: da7219: Reorganise device/codec level probe/remove

This patch set reorganises and fixes device and codec level probe/remove handling within the driver, to allow clean probe and remove at the codec level.

This set relates to an issue raised by Yong Zhi where a codec level re-probe would fail due to clks still being registered from the previous instantiation. In addition some improvements around regulator handling and soft reset have also been included.

Adam Thomson (3):
ASoC: da7219: Move required devm_* allocations to device level code
ASoC: da7219: Move soft reset handling to codec level probe
ASoC: da7219: Fix clock handling around codec level probe

 sound/soc/codecs/da7219-aad.c |  85 +++++---
 sound/soc/codecs/da7219-aad.h |   3 +
 sound/soc/codecs/da7219.c     | 493 +++++++++++++++++++++++-------------------
 sound/soc/codecs/da7219.h     |   1 +
 4 files changed, 328 insertions(+), 254 deletions(-)
Signature · 1 line
1.9.1