1. 29 Jun, 2020 1 commit
  2. 26 Jun, 2020 19 commits
  3. 25 Jun, 2020 6 commits
  4. 24 Jun, 2020 2 commits
  5. 23 Jun, 2020 9 commits
  6. 22 Jun, 2020 3 commits
    • Mark Brown's avatar
      Merge series "ASoC: merge snd_soc_component_read() and... · 39853b14
      Mark Brown authored
      Merge series "ASoC: merge snd_soc_component_read() and snd_soc_component_read32()" from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:
      
      Hi Mark
      
      Because we can use "read" function which is using
      "regmap" or "driver", current ALSA SoC drivers are using both
      	snd_soc_component_read()    // for regmap
      	snd_soc_component_read32()  // for driver callback
      These are similar but needs different parameter.
      
      This patch aggressively merge snd_soc_component_read() and _read32(),
      and makes snd_soc_component_read/write() as generally style.
      
      New read doesn't return error if it failed,
      thus, it can't keep compatibility,
      but assuming it is not a big problem.
      Because 1) it will indicate error message,
      2) it can do nothing anyway if it fails "read".
      
      [02/16] patch is not directly connected to read function merging,
      but need to be apply after [01/16].
      
      Kuninori Morimoto (16):
        ASoC: soc-component: merge snd_soc_component_read() and snd_soc_component_read32()
        ASoC: soc-component: use io_mutex correctly
        ASoC: pxa: rename to snd_soc_component_read()
        ASoC: atmel: rename to snd_soc_component_read()
        ASoC: codecs: rename to snd_soc_component_read()
        ASoC: codecs: wcd*: rename to snd_soc_component_read()
        ASoC: codecs: tlv*: rename to snd_soc_component_read()
        ASoC: codecs: max*: rename to snd_soc_component_read()
        ASoC: codecs: msm*: rename to snd_soc_component_read()
        ASoC: codecs: alc*: rename to snd_soc_component_read()
        ASoC: codecs: wm*: rename to snd_soc_component_read()
        ASoC: codecs: rt*: rename to snd_soc_component_read()
        ASoC: codecs: da*: rename to snd_soc_component_read()
        ASoC: codecs: cs*: rename to snd_soc_component_read()
        ASoC: codecs: ak*: rename to snd_soc_component_read()
        ASoC: remove snd_soc_component_read32()
      
       include/sound/soc-component.h          |  4 +-
       sound/soc/atmel/atmel-pdmic.c          |  4 +-
       sound/soc/codecs/88pm860x-codec.c      | 14 ++---
       sound/soc/codecs/ab8500-codec.c        |  8 +--
       sound/soc/codecs/ad1980.c              |  4 +-
       sound/soc/codecs/ak4458.c              |  2 +-
       sound/soc/codecs/ak4535.c              |  4 +-
       sound/soc/codecs/ak4613.c              |  4 +-
       sound/soc/codecs/ak4671.c              |  8 +--
       sound/soc/codecs/alc5623.c             |  6 +-
       sound/soc/codecs/alc5632.c             |  6 +-
       sound/soc/codecs/arizona.c             | 18 +++---
       sound/soc/codecs/cs4270.c              | 10 +--
       sound/soc/codecs/cs42l42.c             |  2 +-
       sound/soc/codecs/cs42l51.c             |  8 +--
       sound/soc/codecs/cs42l73.c             |  4 +-
       sound/soc/codecs/cs47l35.c             | 10 +--
       sound/soc/codecs/cs47l85.c             | 10 +--
       sound/soc/codecs/da7210.c              | 24 ++++----
       sound/soc/codecs/da7213.c              | 24 ++++----
       sound/soc/codecs/da7218.c              | 34 +++++------
       sound/soc/codecs/da7219-aad.c          | 16 ++---
       sound/soc/codecs/da7219.c              | 20 +++---
       sound/soc/codecs/da732x.c              | 18 +++---
       sound/soc/codecs/da9055.c              | 14 ++---
       sound/soc/codecs/inno_rk3036.c         |  6 +-
       sound/soc/codecs/madera.c              | 49 +++------------
       sound/soc/codecs/max98088.c            | 12 ++--
       sound/soc/codecs/max98090.c            | 20 +++---
       sound/soc/codecs/max98095.c            | 16 ++---
       sound/soc/codecs/max9850.c             |  2 +-
       sound/soc/codecs/msm8916-wcd-analog.c  | 14 ++---
       sound/soc/codecs/msm8916-wcd-digital.c | 16 ++---
       sound/soc/codecs/nau8822.c             |  6 +-
       sound/soc/codecs/rt1305.c              |  2 +-
       sound/soc/codecs/rt298.c               |  2 +-
       sound/soc/codecs/rt5616.c              |  2 +-
       sound/soc/codecs/rt5631.c              | 32 +++++-----
       sound/soc/codecs/rt5640.c              | 10 +--
       sound/soc/codecs/rt5645.c              | 16 ++---
       sound/soc/codecs/rt5651.c              |  6 +-
       sound/soc/codecs/rt5659.c              | 14 ++---
       sound/soc/codecs/rt5660.c              |  2 +-
       sound/soc/codecs/rt5663.c              | 34 +++++------
       sound/soc/codecs/rt5665.c              | 16 ++---
       sound/soc/codecs/rt5668.c              | 16 ++---
       sound/soc/codecs/rt5670.c              | 18 +++---
       sound/soc/codecs/rt5682-i2c.c          |  2 +-
       sound/soc/codecs/rt5682.c              | 19 +++---
       sound/soc/codecs/sgtl5000.c            | 16 ++---
       sound/soc/codecs/sta32x.c              |  4 +-
       sound/soc/codecs/tas2552.c             |  4 +-
       sound/soc/codecs/tas5720.c             |  4 +-
       sound/soc/codecs/tda7419.c             |  9 +--
       sound/soc/codecs/tlv320aic23.c         | 14 ++---
       sound/soc/codecs/tlv320aic26.c         |  4 +-
       sound/soc/codecs/tlv320aic32x4.c       | 16 ++---
       sound/soc/codecs/tlv320aic3x.c         | 14 ++---
       sound/soc/codecs/tscs42xx.c            |  4 +-
       sound/soc/codecs/tscs454.c             | 24 ++------
       sound/soc/codecs/wcd-clsh-v2.c         |  2 +-
       sound/soc/codecs/wcd9335.c             | 48 +++++++--------
       sound/soc/codecs/wcd934x.c             | 52 ++++++++--------
       sound/soc/codecs/wm2200.c              |  4 +-
       sound/soc/codecs/wm5100.c              | 18 +++---
       sound/soc/codecs/wm5110.c              |  6 +-
       sound/soc/codecs/wm8350.c              | 32 +++++-----
       sound/soc/codecs/wm8400.c              | 50 +++++++--------
       sound/soc/codecs/wm8510.c              | 28 ++++-----
       sound/soc/codecs/wm8523.c              |  6 +-
       sound/soc/codecs/wm8580.c              | 12 ++--
       sound/soc/codecs/wm8711.c              |  8 +--
       sound/soc/codecs/wm8728.c              | 10 +--
       sound/soc/codecs/wm8731.c              |  6 +-
       sound/soc/codecs/wm8750.c              |  8 +--
       sound/soc/codecs/wm8753.c              | 42 ++++++-------
       sound/soc/codecs/wm8770.c              |  2 +-
       sound/soc/codecs/wm8776.c              |  2 +-
       sound/soc/codecs/wm8804.c              |  2 +-
       sound/soc/codecs/wm8900.c              | 22 +++----
       sound/soc/codecs/wm8903.c              | 20 +++---
       sound/soc/codecs/wm8904.c              | 16 ++---
       sound/soc/codecs/wm8940.c              | 32 +++++-----
       sound/soc/codecs/wm8955.c              |  2 +-
       sound/soc/codecs/wm8958-dsp2.c         | 18 +++---
       sound/soc/codecs/wm8960.c              | 20 +++---
       sound/soc/codecs/wm8961.c              | 58 +++++++++---------
       sound/soc/codecs/wm8962.c              | 31 +++++-----
       sound/soc/codecs/wm8971.c              |  8 +--
       sound/soc/codecs/wm8974.c              | 24 ++++----
       sound/soc/codecs/wm8978.c              | 12 ++--
       sound/soc/codecs/wm8983.c              |  8 +--
       sound/soc/codecs/wm8985.c              |  8 +--
       sound/soc/codecs/wm8988.c              | 12 ++--
       sound/soc/codecs/wm8990.c              | 18 +++---
       sound/soc/codecs/wm8991.c              | 38 ++++++------
       sound/soc/codecs/wm8993.c              | 28 ++++-----
       sound/soc/codecs/wm8994.c              | 60 +++++++++---------
       sound/soc/codecs/wm8995.c              | 16 ++---
       sound/soc/codecs/wm8996.c              | 30 ++++-----
       sound/soc/codecs/wm8998.c              |  8 +--
       sound/soc/codecs/wm9081.c              | 36 +++++------
       sound/soc/codecs/wm9090.c              |  4 +-
       sound/soc/codecs/wm9713.c              |  2 +-
       sound/soc/codecs/wm_hubs.c             | 30 ++++-----
       sound/soc/fsl/fsl_audmix.c             | 10 +--
       sound/soc/fsl/fsl_easrc.c              |  5 +-
       sound/soc/meson/aiu-encoder-i2s.c      |  3 +-
       sound/soc/meson/aiu-fifo-i2s.c         |  3 +-
       sound/soc/meson/aiu-fifo.c             |  3 +-
       sound/soc/pxa/mioa701_wm9713.c         |  8 +--
       sound/soc/soc-ac97.c                   |  7 +--
       sound/soc/soc-component.c              | 84 ++++++++++++++------------
       sound/soc/soc-dapm.c                   | 31 ++++------
       sound/soc/soc-ops.c                    | 43 +++----------
       115 files changed, 854 insertions(+), 963 deletions(-)
      
      --
      2.25.1
      39853b14
    • Vlad Karpovich's avatar
      ASoC: wm_adsp: Add controls for calibration and diagnostic FW · d6fea46e
      Vlad Karpovich authored
      Exposed additional mixer controls to select calibration or diagnostic
      firmware.
      
      'Calibration' --> chip-dsp<id>-spk-cali.wmfw (.bin)
      'Diagnostic'  --> chip-dsp<id>-spk-diag.wmfw (.bin)
      Signed-off-by: default avatarVlad Karpovich <Vlad.Karpovich@cirrus.com>
      Signed-off-by: default avatarDavid Rhodes <david.rhodes@cirrus.com>
      Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
      Link: https://lore.kernel.org/r/20200619212651.2739-1-david.rhodes@cirrus.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      d6fea46e
    • Kuninori Morimoto's avatar
      ASoC: remove snd_soc_component_read32() · 5b554b0a
      Kuninori Morimoto authored
      No driver is using snd_soc_component_read32() anymore.
      This patch removes it.
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Link: https://lore.kernel.org/r/877dw74mbv.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      5b554b0a