Skip to content

ASoC: remove bitwise operations on GPIO level value

Vladimir Zapolskiy alsa-devel linux-gpio 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 29 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ASoC: rt5677: add GPIO helper macrossound/soc/codecs/rt5677.h+6 -01 reply
2/7ASoC: rt5677: clean up gpiolib callbackssound/soc/codecs/rt5677.c+24 -85 replies
3/7ASoC: wm8903: generalize GPIO control register bitsinclude/sound/wm8903.h sound/soc/codecs/wm8903.c+46 -1986 replies
4/7ASoC: wm8903: simplify gpiolib callbackssound/soc/codecs/wm8903.c+12 -185 replies
5/7ASoC: wm5100: remove bitwise operations involving GPIO level valuesound/soc/codecs/wm5100.c+11 -1010 replies
6/7ASoC: wm8962: remove bitwise operations involving GPIO level valuesound/soc/codecs/wm8962.c+9 -41 reply
7/7ASoC: wm8996: remove bitwise operations involving GPIO level valuesound/soc/codecs/wm8996.c+8 -31 reply

Reviews trailers per patch

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

PatchCharles Keepax
1/7
2/7
3/7A-b
4/7A-b
5/7A-b
6/7A-b
7/7A-b

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

Read the v1 thread

Cover letter [PATCH 0/7] ASoC: remove bitwise operations on GPIO level value

The series does not contain any functional changes, it touches only implementation of gpiolib .set and .direction_output callbacks.

The main intention of the change is to remove bitwise operations on GPIO high/low level value as a preceding change before updating gpiolib callback signatures to utilize bool type as a representation of GPIO level.

The change covers all input cases of GPIO level (i.e. .set and .direction_output) in sound/*, also the series contains a small clean-ups in rt5677 and wm8903 codec drivers related to gpiolib callbacks.

Vladimir Zapolskiy (7):
ASoC: rt5677: add GPIO helper macros
ASoC: rt5677: clean up gpiolib callbacks
ASoC: wm8903: generalize GPIO control register bits
ASoC: wm8903: simplify gpiolib callbacks
ASoC: wm5100: remove bitwise operations involving GPIO level value
ASoC: wm8962: remove bitwise operations involving GPIO level value
ASoC: wm8996: remove bitwise operations involving GPIO level value

 include/sound/wm8903.h    | 222 ++++++++--------------------------------------
 sound/soc/codecs/rt5677.c |  32 +++++--
 sound/soc/codecs/rt5677.h |   6 ++
 sound/soc/codecs/wm5100.c |  21 ++---
 sound/soc/codecs/wm8903.c |  44 ++++-----
 sound/soc/codecs/wm8962.c |  13 ++-
 sound/soc/codecs/wm8996.c |  11 ++-
 7 files changed, 112 insertions(+), 237 deletions(-)
Signature · 1 line
2.1.4