1. 30 Jul, 2020 20 commits
  2. 29 Jul, 2020 3 commits
  3. 28 Jul, 2020 9 commits
  4. 27 Jul, 2020 5 commits
  5. 24 Jul, 2020 3 commits
    • Tzung-Bi Shih's avatar
      ASoC: dapm: don't call pm_runtime_* on card device · 3aecfc72
      Tzung-Bi Shih authored
      runtime_usage of sound card has been observed to grow without bound.
      For example:
      $ cat /sys/devices/platform/sound/power/runtime_usage
      46
      $ sox -n -t s16 -r 48000 -c 2 - synth 1 sine 440 vol 0.1 | \
        aplay -q -D hw:0,0 -f S16_LE -r 48000 -c 2
      $ cat /sys/devices/platform/sound/power/runtime_usage
      52
      
      Commit 4e872a46 ("ASoC: dapm: Don't force card bias level to be
      updated") stops to force update bias_level on card.  If card doesn't
      provide set_bias_level callback, the snd_soc_dapm_set_bias_level()
      is equivalent to NOP for card device.
      
      As a result, dapm_pre_sequence_async() doesn't change the bias_level of
      card device correctly.  Thus, pm_runtime_get_sync() would be called in
      dapm_pre_sequence_async() without symmetric pm_runtime_put() in
      dapm_post_sequence_async().
      
      Don't call pm_runtime_* on card device.
      Signed-off-by: default avatarTzung-Bi Shih <tzungbi@google.com>
      Link: https://lore.kernel.org/r/20200724070731.451377-1-tzungbi@google.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      3aecfc72
    • Mark Brown's avatar
      Merge series "ASoC: qcom: Use qcom_snd_parse_of() for apq8016_sbc" from... · aa2d1ee7
      Mark Brown authored
      Merge series "ASoC: qcom: Use qcom_snd_parse_of() for apq8016_sbc" from Stephan Gerhold <stephan@gerhold.net>:
      
      At the moment we have two separate functions to parse the sound card
      properties from the device tree: qcom_snd_parse_of() for DPCM and
      apq8016_sbc_parse_of() without DPCM. These functions are almost identical
      except for a few minor differences.
      
      This patch set extends qcom_snd_parse_of() to handle links without DPCM,
      so that we can use one common function for all (qcom) machine drivers.
      
      Stephan Gerhold (7):
        ASoC: qcom: Use devm for resource management
        ASoC: qcom: common: Use snd_soc_dai_link_set_capabilities()
        ASoC: q6afe: Remove unused q6afe_is_rx_port() function
        ASoC: qcom: common: Support parsing links without DPCM
        ASoC: qcom: common: Parse properties with "qcom," prefix
        ASoC: qcom: apq8016_sbc: Use qcom_snd_parse_of()
        ASoC: qcom: common: Avoid printing errors for -EPROBE_DEFER
      
       sound/soc/qcom/Kconfig       |   1 +
       sound/soc/qcom/apq8016_sbc.c | 120 ++++-------------------------------
       sound/soc/qcom/apq8096.c     |  28 +-------
       sound/soc/qcom/common.c      |  58 ++++++++++-------
       sound/soc/qcom/qdsp6/q6afe.c |   8 ---
       sound/soc/qcom/qdsp6/q6afe.h |   1 -
       sound/soc/qcom/sdm845.c      |  40 ++----------
       7 files changed, 59 insertions(+), 197 deletions(-)
      
      --
      2.27.0
      aa2d1ee7
    • Steve Lee's avatar
      ASoC: max98390: update dsm param bin max size · 62f2c779
      Steve Lee authored
       MAX98390_DSM_PARAM_MAX_SIZE is changed to support extended
       register update.
      Signed-off-by: default avatarSteve Lee <steves.lee@maximintegrated.com>
      Link: https://lore.kernel.org/r/20200724085644.9837-1-steves.lee@maximintegrated.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      62f2c779