1. 13 Apr, 2021 9 commits
  2. 12 Apr, 2021 15 commits
  3. 09 Apr, 2021 13 commits
  4. 08 Apr, 2021 3 commits
    • Mark Brown's avatar
      Merge series "ASoC: simple-card-utils: prepare for multi support" from... · 703fe25d
      Mark Brown authored
      Merge series "ASoC: simple-card-utils: prepare for multi support" from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:
      
      Hi Mark
      
      I want to add new audio-graph-card2 driver which can support
      not only DPCM, but also Multi-CPU/Codec, and Codec2Codec.
      And it is also supporting audio-graph-card2 base custom driver.
      
      But before supporting such driver, we need to cleanup existing
      simple-card / audio-graph, because these and new driver are
      sharing code.
      
      This patch-set are for Multi-CPU/Codec support,
      and some cleanups.
      
      Kuninori Morimoto (14):
        ASoC: simple-card-utils: enable flexible CPU/Codec/Platform
        ASoC: simple-card-utils: share dummy DAI and reduce memory
        ASoC: simple-card-utils: setup dai_props cpu_dai/codec_dai at initial timing
        ASoC: simple-card-utils: remove li->dais/li->conf
        ASoC: simple-card-utils: use for_each_prop_xxx()
        ASoC: simple-card-utils: remove asoc_simple_parse_xxx()
        ASoC: simple-card-utils: care multi DAI at asoc_simple_clean_reference()
        ASoC: simple-card-utils: indicate dai_fmt if exist
        ASoC: simple-card-utils: indicate missing CPU/Codec numbers for debug
        ASoC: simple-card-utils: add simple_props_to_xxx() macro
        ASoC: simple-card-utils: multi support at asoc_simple_canonicalize_cpu/platform()
        ASoC: simple-card-utils: tidyup debug info for clock
        ASoC: simple-card-utils: tidyup dev_dbg() to use 1 line
        ASoC: simple-card-utils: tidyup asoc_simple_parse_convert()
      
       include/sound/simple_card_utils.h     | 116 +++++++----
       sound/soc/generic/audio-graph-card.c  |  90 ++++-----
       sound/soc/generic/simple-card-utils.c | 272 +++++++++++++++++---------
       sound/soc/generic/simple-card.c       | 104 +++++-----
       4 files changed, 352 insertions(+), 230 deletions(-)
      
      --
      2.25.1
      703fe25d
    • Ye Bin's avatar
      ASoC: tas2770: Constify static struct snd_soc_dai_ops · f2ec1ebb
      Ye Bin authored
      The snd_soc_dai_ops structures is only stored in the ops field of a
      snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure
      const to allow the compiler to put it in read-only memory.
      Reported-by: default avatarHulk Robot <hulkci@huawei.com>
      Signed-off-by: default avatarYe Bin <yebin10@huawei.com>
      Link: https://lore.kernel.org/r/20210408062646.803053-1-yebin10@huawei.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      f2ec1ebb
    • Ye Bin's avatar
      ASoC: cx2072x: constify static struct snd_soc_dai_ops · e9a216d8
      Ye Bin authored
      The snd_soc_dai_ops structures is only stored in the ops field of a
      snd_soc_dai_driver structure, so make the snd_soc_dai_ops structure
      const to allow the compiler to put it in read-only memory.
      Reported-by: default avatarHulk Robot <hulkci@huawei.com>
      Signed-off-by: default avatarYe Bin <yebin10@huawei.com>
      Link: https://lore.kernel.org/r/20210408062656.803606-1-yebin10@huawei.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      e9a216d8