Skip to content
Permalink
Shengjiu-Wang/…
Switch branches/tags

Commits on Apr 16, 2021

  1. ASoC: ak4458: check reset control status

    check the return value of ak4458_rstn_control.
    
    Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
    Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
    Viorel Suman authored and intel-lab-lkp committed Apr 16, 2021

Commits on Apr 15, 2021

  1. ASoC: SOF: use current DAI config during resume

    Recently, the sof_pcm_dai_link_fixup() function was
    updated to match SSP config with the PCM hw_params
    and set the current_config for the DAI widget.
    
    But the sof_restore_pipelines() function still chooses the
    default config for the DAI widget upon resuming. Fix this
    to use the last used config when setting up the DAI widget
    during resume.
    
    Fixes: c943a58 ("ASoC: SOF: match SSP config with pcm hw params")
    Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
    Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
    Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://lore.kernel.org/r/20210415162107.130963-1-pierre-louis.bossart@linux.intel.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    ranj063 authored and broonie committed Apr 15, 2021
  2. ASoC: Intel: kbl_da7219_max98927: Fix kabylake_ssp_fixup function

    kabylake_ssp_fixup function uses snd_soc_dpcm to identify the
    codecs DAIs. The HW parameters are changed based on the codec DAI of the
    stream. The earlier approach to get snd_soc_dpcm was using container_of()
    macro on snd_pcm_hw_params.
    
    The structures have been modified over time and snd_soc_dpcm does not have
    snd_pcm_hw_params as a reference but as a copy. This causes the current
    driver to crash when used.
    
    This patch changes the way snd_soc_dpcm is extracted. snd_soc_pcm_runtime
    holds 2 dpcm instances (one for playback and one for capture). 2 codecs
    on the SSP are dmic (capture) and speakers (playback). Based on the
    stream direction, snd_soc_dpcm is extracted from snd_soc_pcm_runtime.
    
    Tested for all use cases of the driver.
    Based on similar fix in kbl_rt5663_rt5514_max98927.c
    from Harsha Priya <harshapriya.n@intel.com> and
    Vamshi Krishna Gopal <vamshi.krishna.gopal@intel.com>
    
    Cc: <stable@vger.kernel.org> # 5.4+
    Signed-off-by: Lukasz Majczak <lma@semihalf.com>
    Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
    Link: https://lore.kernel.org/r/20210415124347.475432-1-lma@semihalf.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    semihalf-majczak-lukasz authored and broonie committed Apr 15, 2021
  3. Merge series "ASoC: simple-card/audio-graph: adjust to multi CPU/Code…

    …c" from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:
    
    Hi Mark
    
    These patches adjusts to multi CPU/Codec on simple-card / audio-graph.
    This is part of prepare for new audio-graph-card2.
    
    Kuninori Morimoto (5):
      ASoC: simple-card: remove unused variable from simple_parse_of()
      ASoC: simple-card: use asoc_link_to_xxx() macro
      ASoC: simple-card: use simple_props_to_xxx() macro
      ASoC: audio-graph: use asoc_link_to_xxx() macro
      ASoC: audio-graph: use simple_props_to_xxx() macro
    
     sound/soc/generic/audio-graph-card.c | 43 +++++++++++++-----------
     sound/soc/generic/simple-card.c      | 50 +++++++++++++---------------
     2 files changed, 47 insertions(+), 46 deletions(-)
    
    --
    2.25.1
    broonie committed Apr 15, 2021
  4. ASoC: codecs: wcd934x: Fix missing IRQF_ONESHOT as only threaded handler

    Coccinelle noticed:
      sound/soc/codecs/wcd934x.c:5041:7-32: ERROR: Threaded IRQ with no primary
    handler requested without IRQF_ONESHOT
    
    Signed-off-by: Guangqing Zhu <zhuguangqing83@gmail.com>
    Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
    Link: https://lore.kernel.org/r/20210415073829.22750-1-zhuguangqing83@gmail.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    zhuguangqing authored and broonie committed Apr 15, 2021
  5. ASoC: audio-graph: use simple_props_to_xxx() macro

    We shouldn't use dai_props->cpus/codecs directly,
    because these are array now to supporting multi CPU/Codec/Platform.
    This patch uses simple_props_to_xxx() macro for it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87k0p5zs97.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 15, 2021
  6. ASoC: audio-graph: use asoc_link_to_xxx() macro

    We shouldn't use dai_link->cpus/codecs/platforms directly,
    because these are array now to supporting multi CPU/Codec/Platform.
    This patch uses asoc_link_to_xxx() macro for it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87lf9lzs9c.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 15, 2021
  7. ASoC: simple-card: use simple_props_to_xxx() macro

    We shouldn't use dai_props->cpus/codecs directly,
    because these are array now to supporting multi CPU/Codec/Platform.
    This patch uses simple_props_to_xxx() macro for it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87mtu1zs9i.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 15, 2021
  8. ASoC: simple-card: use asoc_link_to_xxx() macro

    We shouldn't use dai_link->cpus/codecs/platforms directly,
    because these are array now to supporting multi CPU/Codec/Platform.
    This patch uses asoc_link_to_xxx() macro for it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87o8ehzs9n.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 15, 2021
  9. ASoC: simple-card: remove unused variable from simple_parse_of()

    commit d9ffff6 ("ASoC: simple-card: Use snd_soc_of_parse_aux_devs()")
    switched to use snd_soc_of_parse_aux_devs() on simple_parse_of().
    Thus noone is using *top anymore. Let's cleanup unused variable.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87pmyxzs9w.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 15, 2021

Commits on Apr 14, 2021

  1. Merge series "kunit: Fix formatting of KUNIT tests to meet the standa…

    …rd" from Nico Pache <npache@redhat.com>:
    
    There are few instances of KUNIT tests that are not properly defined.
    This commit focuses on correcting these issues to match the standard
    defined in the Documentation.
    
    Issues Fixed:
     - tests should end in KUNIT_TEST, some fixes have been applied to
       correct issues were KUNIT_TESTS is used or KUNIT is not mentioned.
     - Tests should default to KUNIT_ALL_TESTS
     - Tests configs tristate should have if !KUNIT_ALL_TESTS
    
    No functional changes other than CONFIG name changes
    
    Changes since v2:
     - Split patch 1 by subcomponents
     - fix issues where config was *KUNIT_TEST_TEST
     - properly threaded/chained messages
    
    Nico Pache (6):
      kunit: ASoC: topology: adhear to KUNIT formatting standard
      kunit: software node: adhear to KUNIT formatting standard
      kunit: ext4: adhear to KUNIT formatting standard
      kunit: lib: adhear to KUNIT formatting standard
      kunit: mptcp: adhear to KUNIT formatting standard
      m68k: update configs to match the proper KUNIT syntax
    
     arch/m68k/configs/amiga_defconfig    |  6 +++---
     arch/m68k/configs/apollo_defconfig   |  6 +++---
     arch/m68k/configs/atari_defconfig    |  6 +++---
     arch/m68k/configs/bvme6000_defconfig |  6 +++---
     arch/m68k/configs/hp300_defconfig    |  6 +++---
     arch/m68k/configs/mac_defconfig      |  6 +++---
     arch/m68k/configs/multi_defconfig    |  6 +++---
     arch/m68k/configs/mvme147_defconfig  |  6 +++---
     arch/m68k/configs/mvme16x_defconfig  |  6 +++---
     arch/m68k/configs/q40_defconfig      |  6 +++---
     arch/m68k/configs/sun3_defconfig     |  6 +++---
     arch/m68k/configs/sun3x_defconfig    |  6 +++---
     drivers/base/test/Kconfig            |  2 +-
     drivers/base/test/Makefile           |  2 +-
     fs/ext4/.kunitconfig                 |  2 +-
     fs/ext4/Kconfig                      |  2 +-
     fs/ext4/Makefile                     |  2 +-
     lib/Kconfig.debug                    | 21 +++++++++++++--------
     lib/Makefile                         |  6 +++---
     net/mptcp/Kconfig                    |  2 +-
     net/mptcp/Makefile                   |  2 +-
     net/mptcp/crypto.c                   |  2 +-
     net/mptcp/token.c                    |  2 +-
     sound/soc/Kconfig                    |  2 +-
     sound/soc/Makefile                   |  4 ++--
     25 files changed, 64 insertions(+), 59 deletions(-)
    
    --
    2.30.2
    broonie committed Apr 14, 2021
  2. Merge series "ASoC: rsnd: tidyup Renesas sound" from Kuninori Morimot…

    …o <kuninori.morimoto.gx@renesas.com>:
    
    Hi Mark
    
    These are tidyup patches for Renesas sound drivers.
    
    Kuninori Morimoto (5):
      ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init()
      ASoC: rsnd: check all BUSIF status when error
      ASoC: rsnd: add rsnd_ssi_busif_err_status_clear()
      ASoC: rsnd: add rsnd_ssi_busif_err_irq_enable/disable()
      ASoC: rsnd: add usage for SRC
    
     sound/soc/sh/rcar/src.c |   9 ++
     sound/soc/sh/rcar/ssi.c | 225 ++++++++++++++++++----------------------
     2 files changed, 110 insertions(+), 124 deletions(-)
    
    --
    2.25.1
    broonie committed Apr 14, 2021
  3. ASoC: topology: adhere to KUNIT formatting standard

    Drop 'S' from end of SND_SOC_TOPOLOGY_KUNIT_TESTS inorder to adhear to
     the KUNIT *_KUNIT_TEST config name format.
    
    Signed-off-by: Nico Pache <npache@redhat.com>
    Link: https://lore.kernel.org/r/dcf79e592f9a7e14483dde32ac561f6af2632e50.1618388989.git.npache@redhat.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Nico Pache authored and broonie committed Apr 14, 2021
  4. ASoC: cs35l35: remove unused including <linux/version.h>

    Fix the following versioncheck warning:
    ./sound/soc/codecs/cs35l35.c: 12 linux/version.h not needed.
    
    Reported-by: Abaci Robot <abaci@linux.alibaba.com>
    Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
    Link: https://lore.kernel.org/r/1618380883-114841-1-git-send-email-yang.lee@linux.alibaba.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Yang Li authored and broonie committed Apr 14, 2021
  5. ASoC: ak5558: change function name to ak5558_reset

    Change function name to ak5558_reset to match devicetree property
    "reset-gpios".
    
    Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
    Link: https://lore.kernel.org/r/1618382024-31725-2-git-send-email-shengjiu.wang@nxp.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    TE-N-ShengjiuWang authored and broonie committed Apr 14, 2021
  6. ASoC: ak5558: correct reset polarity

    Reset (aka power off) happens when the reset gpio is made active.
    The reset gpio is GPIO_ACTIVE_LOW
    
    Fixes: 9208847 ("ASoC: ak5558: Add support for AK5558 ADC driver")
    Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
    Link: https://lore.kernel.org/r/1618382024-31725-1-git-send-email-shengjiu.wang@nxp.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    TE-N-ShengjiuWang authored and broonie committed Apr 14, 2021
  7. ASoC: rsnd: add usage for SRC

    This patch add missing usage comment for SRC.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87zgy9z9es.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 14, 2021
  8. ASoC: rsnd: add rsnd_ssi_busif_err_irq_enable/disable()

    Current ssi.c has duplicated code to control BUSIF
    over/under run interrupt.
    This patch adds new rsnd_ssi_busif_err_irq_enable/disable()
    and share the code.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Cc: Yongbo Zhang <giraffesnn123@gmail.com>
    Cc: Chen Li <licheng0822@thundersoft.com>
    Link: https://lore.kernel.org/r/871rbl1jsb.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 14, 2021
  9. ASoC: rsnd: add rsnd_ssi_busif_err_status_clear()

    Current ssi.c clears BUSIF error status at __rsnd_ssi_interrupt(),
    but its code is verbose.
    This patch off-load it to rsnd_ssi_busif_err_status_clear().
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/8735w11jso.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 14, 2021
  10. ASoC: rsnd: check all BUSIF status when error

    commit 66c705d ("SoC: rsnd: add interrupt support for SSI BUSIF
    buffer") adds __rsnd_ssi_interrupt() checks for BUSIF status,
    but is using "break" at for loop.
    This means it is not checking all status. Let's check all BUSIF status.
    
    Fixes: commit 66c705d ("SoC: rsnd: add interrupt support for SSI BUSIF buffer")
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/874kgh1jsw.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 14, 2021
  11. ASoC: rsnd: call rsnd_ssi_master_clk_start() from rsnd_ssi_init()

    Current rsnd needs to call .prepare (P) for clock settings,
    .trigger for playback start (S) and stop (E).
    It should be called as below from SSI point of view.
    
    	P -> S -> E -> P -> S -> E -> ...
    
    But, if you used MIXer, below case might happen
    
    	              (2)
    	1: P -> S ---> E -> ...
    	2:         P ----> S -> ...
    	          (1)     (3)
    
    P(1) setups clock, but E(2) resets it. and starts playback (3).
    In such case, it will reports "SSI parent/child should use same rate".
    
    rsnd_ssi_master_clk_start() which is the main function at (P)
    was called from rsnd_ssi_init() (= S) before,
    but was moved by below patch to rsnd_soc_dai_prepare() (= P) to avoid
    using clk_get_rate() which shouldn't be used under atomic context.
    
    	commit 4d230d1 ("ASoC: rsnd: fixup not to call clk_get/set
    				under non-atomic")
    
    Because of above patch, rsnd_ssi_master_clk_start() is now called at (P)
    which is for non atomic context. But (P) is assuming that spin lock is
    *not* used.
    One issue now is rsnd_ssi_master_clk_start() is checking ssi->xxx
    which should be protected by spin lock.
    
    After above patch, adg.c had below patch for other reasons.
    
    	commit 06e8f5c ("ASoC: rsnd: don't call clk_get_rate()
    				under atomic context")
    
    clk_get_rate() is used at probe() timing by this patch.
    In other words, rsnd_ssi_master_clk_start() is no longer using
    clk_get_rate() any more.
    
    This means we can call it from rsnd_ssi_init() (= S) again which is
    protected by spin lock.
    This patch re-move it to under spin lock, and solves
    1. checking ssi->xxx without spin lock issue.
    2. clk setting / device start / device stop race condition.
    
    Reported-by: Linh Phung T. Y. <linh.phung.jy@renesas.com>
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/875z0x1jt5.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 14, 2021

Commits on Apr 13, 2021

  1. ASoC: cs35l36: Fix an error handling path in 'cs35l36_i2c_probe()'

    If 'devm_regmap_init_i2c()' fails, there is no need to goto err. We should
    return directly as already done by the surrounding error handling paths.
    
    Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
    Link: https://lore.kernel.org/r/9fec48e75bc1d3c92626e6f6aca2344bda223379.1618145790.git.christophe.jaillet@wanadoo.fr
    Signed-off-by: Mark Brown <broonie@kernel.org>
    tititiou36 authored and broonie committed Apr 13, 2021
  2. ASoC: cs35l35: Fix an error handling path in 'cs35l35_i2c_probe()'

    If 'devm_regmap_init_i2c()' fails, there is no need to goto err. We should
    return directly as already done by the surrounding error handling paths.
    
    Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
    Link: https://lore.kernel.org/r/15720439769ba94ffb65c90217392b0758b08f61.1618145369.git.christophe.jaillet@wanadoo.fr
    Signed-off-by: Mark Brown <broonie@kernel.org>
    tititiou36 authored and broonie committed Apr 13, 2021
  3. Merge series "ASoC: simple-card-utils: prepare for multi support" fro…

    …m Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:
    
    Hi Mark
    
    This patch-set is for v2 of Multi-CPU/Codec support,
    and some cleanups.
    v1 had patch-conflict on simple-card / audio-graph with below.
    v2 was solved it.
    
    	fa74c22
    	("ASoC: simple-card: fix possible uninitialized single_cpu local variable")
    
    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.
    
    Link: https://lore.kernel.org/r/87wntmod33.wl-kuninori.morimoto.gx@renesas.com
    Link: https://lore.kernel.org/r/20210408141639.GA39604@sirena.org.uk
    
    Kuninori Morimoto (12):
      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     | 107 ++++++++++------
     sound/soc/generic/audio-graph-card.c  |  64 ++++------
     sound/soc/generic/simple-card-utils.c | 174 ++++++++++++++++----------
     sound/soc/generic/simple-card.c       |  70 ++++-------
     4 files changed, 226 insertions(+), 189 deletions(-)
    
    --
    2.25.1
    broonie committed Apr 13, 2021
  4. ASoC: sti: sti_uniperif: add missing MODULE_DEVICE_TABLE

    This patch adds missing MODULE_DEVICE_TABLE definition which generates
    correct modalias for automatic loading of this driver when it is built
    as an external module.
    
    Reported-by: Hulk Robot <hulkci@huawei.com>
    Signed-off-by: Chen Lifu <chenlifu@huawei.com>
    Reviewed-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
    Link: https://lore.kernel.org/r/20210409015953.259688-1-chenlifu@huawei.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Chen Lifu authored and broonie committed Apr 13, 2021
  5. ASoC: simple-card-utils: tidyup asoc_simple_parse_convert()

    dev is not used. This patch removes it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87eefgwf8j.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  6. ASoC: simple-card-utils: tidyup dev_dbg() to use 1 line

    We can use 100 char now for 1 line.
    This patch tidyup unreadable dev_dbg() message.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87fszwwf8o.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  7. ASoC: simple-card-utils: tidyup debug info for clock

    simple-card / audio-graph can use clock as dai->clk or dai->sysclk.
    These related information should be indicated at same position.
    This patch tidyup it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87h7kcwf8t.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  8. ASoC: simple-card-utils: multi support at asoc_simple_canonicalize_cp…

    …u/platform()
    
    Current asoc_simple_canonicalize_cpu/platform() is assuming single CPU,
    single Platform, but we want to support Multi support.
    This patch is prepare for it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87im4swf8y.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  9. ASoC: simple-card-utils: add simple_props_to_xxx() macro

    We shouldn't use dai_props->cpus/codecs/cpu_dai/codec_dai/codec_conf
    directly, because these are array to supporting multi CPU/Codec/Platform.
    This patch adds asoc_link_to_xxx() macro for it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87k0p8wf9b.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  10. ASoC: simple-card-utils: indicate missing CPU/Codec numbers for debug

    Now ALSA is supporting multi-CPU/Codec,
    thus, we want to know number of CPU/Codec when debugging.
    This patch indicates it.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87lf9owf9g.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  11. ASoC: simple-card-utils: indicate dai_fmt if exist

    link->dai_fmt might be 0.
    Don't indicate it in such case when debugging.
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87mtu4wf9k.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
  12. ASoC: simple-card-utils: care multi DAI at asoc_simple_clean_reference()

    ASoC is now supporting multi DAI, but, current
    simple-card / audio-graph are assuming fixed single DAI.
    
    This patch cares multi DAI at asoc_simple_clean_reference()
    for of_node_put().
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Link: https://lore.kernel.org/r/87o8ekwf9p.wl-kuninori.morimoto.gx@renesas.com
    Signed-off-by: Mark Brown <broonie@kernel.org>
    morimoto authored and broonie committed Apr 13, 2021
Older