mbox series

[00/21] ASoC: codecs: remove warnings with Sparse, Coccinelle and W=1

Message ID 20190105020249.8639-1-pierre-louis.bossart@linux.intel.com (mailing list archive)
Headers show
Series ASoC: codecs: remove warnings with Sparse, Coccinelle and W=1 | expand

Message

Pierre-Louis Bossart Jan. 5, 2019, 2:02 a.m. UTC
This patchset contains mostly trivial fixes to make tools happy. I
don't get paid more by sending lots of small patches, my only goal is
to make sure tools don't spit out too many warnings and drown
potential problems.

Thanks for Bard Liao for his help, and Adam Thompson and Oder Chiou
for off-line reviews.

Bard liao (4):
  ASoC: rt5645: remove unused mux define
  ASoC: rt5670: remove unused mux/mixer define
  ASoC: rt5645: store eq kcontrol byte in __be
  ASoC: rl6437a: use __be32 for a __be32 buf

Pierre-Louis Bossart (17):
  ASoC: dmic: declare trigger function as static
  ASoC: max98090: remove unused constant variables
  ASoC: es8316: remove unused constant variables
  ASoC: codecs: fix kernel doc descriptions
  ASoC: max98383: fix boolean assignments to true/false
  ASoC: rt298: fix boolean tests
  ASoC: cs4271: fix boolean assignments
  ASoC: rt274: fix boolean tests
  ASoc: rt286: fix boolean tests
  ASoC: rt5640: fix boolean assignments
  ASoC: max98927: fix boolean assignments
  ASoC: rt5651: fix boolean assignments
  ASoC: nau8824: fix boolean assignment
  ASoC: tscs42xx.c: fix boolean test
  ASoC: mt6351: remove unneeded variable
  ASoC: da7219: fix endianness issues
  ASoC: da7219: use logical AND

 sound/soc/codecs/cs4271.c     |  4 +--
 sound/soc/codecs/da7219-aad.c |  2 +-
 sound/soc/codecs/da7219.c     |  8 ++---
 sound/soc/codecs/dmic.c       |  4 +--
 sound/soc/codecs/es8316.c     |  4 ---
 sound/soc/codecs/max98090.c   | 15 --------
 sound/soc/codecs/max98373.c   |  6 ++--
 sound/soc/codecs/max98927.c   |  8 ++---
 sound/soc/codecs/mt6351.c     |  4 +--
 sound/soc/codecs/nau8824.c    |  2 +-
 sound/soc/codecs/nau8825.c    |  1 +
 sound/soc/codecs/rl6347a.c    |  4 +--
 sound/soc/codecs/rt274.c      |  8 ++---
 sound/soc/codecs/rt286.c      |  8 ++---
 sound/soc/codecs/rt298.c      | 12 +++----
 sound/soc/codecs/rt5514.c     |  1 +
 sound/soc/codecs/rt5640.c     |  6 ++--
 sound/soc/codecs/rt5645.c     | 66 +++++++++--------------------------
 sound/soc/codecs/rt5651.c     |  6 ++--
 sound/soc/codecs/rt5670.c     | 54 ----------------------------
 sound/soc/codecs/rt5677.c     |  8 ++---
 sound/soc/codecs/tscs42xx.c   |  2 +-
 22 files changed, 63 insertions(+), 170 deletions(-)


base-commit: 14f9b94a3274b047126c8c0ff39dc495e8d1acab