[alsa-devel] [PATCH 0/7] ASoC: remove bitwise operations on GPIO level value

Vladimir Zapolskiy vz at mleia.com
Tue Jun 2 01:07:11 CEST 2015


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(-)

-- 
2.1.4



More information about the Alsa-devel mailing list