Skip to content

ASoC: rt5677: Refactor GPIO and use device_get_match_data()

Andy Shevchenko alsa-devel lkml tools 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 10 repliesIn review
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- refactored GPIO code in (a new) patch 1
- fixed compilation error in patch 2 (LKP)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ASoC: rt5677: Refactor GPIO support codesound/soc/codecs/rt5677.c sound/soc/codecs/rt5677.h+37 -1270 replies
2/4ASoC: rt5677: Use agnostic irq_domain_create_linear()sound/soc/codecs/rt5677.c+1 -10 replies
3/4ASoC: rt5677: Use device_get_match_data()sound/soc/codecs/rt5677.c sound/soc/codecs/rt5677.h+6 -190 replies
4/4ASoC: rt5677: Sort headers alphabeticallysound/soc/codecs/rt5677.c+9 -90 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/4] ASoC: rt5677: Refactor GPIO and use device_get_match_data()

The code can be simplified with refactored GPIO parts and with use of device_get_match_data(). Besides that couple of additional changes, one for maintenance and one for making IRQ domain agnostic (not being pinned to OF).

Changelog v2:
- refactored GPIO code in (a new) patch 1
- fixed compilation error in patch 2 (LKP)

Andy Shevchenko (4):
ASoC: rt5677: Refactor GPIO support code
ASoC: rt5677: Use agnostic irq_domain_create_linear()
ASoC: rt5677: Use device_get_match_data()
ASoC: rt5677: Sort headers alphabetically

 sound/soc/codecs/rt5677.c | 117 +++++++++++++-------------------------
 sound/soc/codecs/rt5677.h |  92 +++++-------------------------
 2 files changed, 53 insertions(+), 156 deletions(-)
Signature · 1 line
2.40.0.1.gaa8946217a0b