1. 20 Jun, 2022 1 commit
    • Judy Hsiao's avatar
      ASoC: rockchip: i2s: switch BCLK to GPIO · 44f362c2
      Judy Hsiao authored
      We discoverd that the state of BCLK on, LRCLK off and SD_MODE on
      may cause the speaker melting issue. Removing LRCLK while BCLK
      is present can cause unexpected output behavior including a large
      DC output voltage as described in the Max98357a datasheet.
      
      In order to:
        1. prevent BCLK from turning on by other component.
        2. keep BCLK and LRCLK being present at the same time
      
      This patch switches BCLK to GPIO func before LRCLK output, and
      configures BCLK func back during LRCLK is output.
      
      Without this fix, BCLK is turned on 11 ms earlier than LRCK by the
      da7219.
      With this fix, BCLK is turned on only 0.4 ms earlier than LRCK by
      the rockchip codec.
      Signed-off-by: default avatarJudy Hsiao <judyhsiao@chromium.org>
      Link: https://lore.kernel.org/r/20220615045643.3137287-1-judyhsiao@chromium.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      44f362c2
  2. 17 Jun, 2022 5 commits
  3. 15 Jun, 2022 1 commit
  4. 13 Jun, 2022 5 commits
  5. 10 Jun, 2022 4 commits
  6. 09 Jun, 2022 3 commits
  7. 08 Jun, 2022 2 commits
    • Kuninori Morimoto's avatar
      ASoC: ak4613: cares Simple-Audio-Card case for TDM · ec3ad554
      Kuninori Morimoto authored
      Renesas is the only user of ak4613 on upstream for now, and
      commit f28dbaa9 ("ASoC: ak4613: add TDM256 support")
      added TDM256 support. Renesas tested part of it, because of
      board connection.
      
      It was assuming ak4613 is probed via Audio-Graph-Card, but it
      might be probed via Simple-Audio-Card either.
      It will indicates WARNING in such case. This patch fixup it.
      Reported-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Tested-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Link: https://lore.kernel.org/r/87h74v29f7.wl-kuninori.morimoto.gx@renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      ec3ad554
    • Mark Brown's avatar
      ASoC: harden SoundWire codec/machine drivers used on Intel platforms · 27e05fcb
      Mark Brown authored
      Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      While testing fixes for SoundWire race conditions initially reported
      in [1], I found additional issues in codec drivers. When the order in
      which drivers are probed is changed, multiple errors are reported,
      from unbalanced pm_runtime_enable() calls to invalid mutex lock magic
      numbers, workqueues not initialized and missing resume sequences.
      
      In 'nominal' usages, there is no change of functionality, this is just
      a first step to test random device/driver bind/unbind sequences.
      
      Important note: these changes only touch Intel-based platforms, I
      don't have any background and ability to test on Qualcomm-based
      devices.
      
      [1] https://lore.kernel.org/alsa-devel/d0559e97-c4a0-b817-428c-d3e305390270@linux.intel.com/
      
      Pierre-Louis Bossart (7):
        ASoC: Realtek/Maxim SoundWire codecs: disable pm_runtime on remove
        ASoC: rt711-sdca-sdw: fix calibrate mutex initialization
        ASoC: Intel: sof_sdw: handle errors on card registration
        ASoC: rt711: fix calibrate mutex initialization
        ASoC: rt7*-sdw: harden jack_detect_handler
        ASoC: codecs: rt700/rt711/rt711-sdca: initialize workqueues in probe
        ASoC: codecs: rt700/rt711/rt711-sdca: resume bus/codec in
          .set_jack_detect
      
       sound/soc/codecs/max98373-sdw.c   | 12 +++++++-
       sound/soc/codecs/rt1308-sdw.c     | 11 +++++++
       sound/soc/codecs/rt1316-sdw.c     | 11 +++++++
       sound/soc/codecs/rt5682-sdw.c     |  5 ++-
       sound/soc/codecs/rt700-sdw.c      |  6 +++-
       sound/soc/codecs/rt700.c          | 30 +++++++++++-------
       sound/soc/codecs/rt711-sdca-sdw.c |  9 +++++-
       sound/soc/codecs/rt711-sdca.c     | 40 ++++++++++++------------
       sound/soc/codecs/rt711-sdw.c      |  9 +++++-
       sound/soc/codecs/rt711.c          | 40 ++++++++++++------------
       sound/soc/codecs/rt715-sdca-sdw.c | 12 ++++++++
       sound/soc/codecs/rt715-sdw.c      | 12 ++++++++
       sound/soc/intel/boards/sof_sdw.c  | 51 ++++++++++++++++++-------------
       13 files changed, 169 insertions(+), 79 deletions(-)
      
      --
      2.34.1
      27e05fcb
  8. 07 Jun, 2022 9 commits
  9. 06 Jun, 2022 10 commits