1. 25 May, 2020 3 commits
  2. 22 May, 2020 3 commits
  3. 20 May, 2020 4 commits
  4. 19 May, 2020 23 commits
  5. 18 May, 2020 7 commits
    • Hans de Goede's avatar
      ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT8-A tablet · 0e0e10fd
      Hans de Goede authored
      The Toshiba Encore WT8-A tablet almost fully works with the default
      settings for non-CR Bay Trail devices. The only problem is that its
      jack-detect switch is not inverted (it is active high instead of
      the normal active low).
      
      Add a quirk for this model using the default settings +
      BYT_RT5640_JD_NOT_INV.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Acked-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Link: https://lore.kernel.org/r/20200518072416.5348-1-hdegoede@redhat.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      0e0e10fd
    • Mark Brown's avatar
      Merge series "ASoC: SOF: Intel and IMX updates for 5.8" from Kai Vehmanen... · 4ace9a0e
      Mark Brown authored
      Merge series "ASoC: SOF: Intel and IMX updates for 5.8" from Kai Vehmanen <kai.vehmanen@linux.intel.com>:
      
      Hi,
      
      here's a series of minor fixes and improvements to SOF. Add support
      for smart amplifier component type. Cover more systems by relaxing
      match rules for the generic Soundwire machine driver. Fix issues with
      driver unload and address a few compiler warnings.
      
      Daniel Baluta (2):
        ASoC: SOF: Do nothing when DSP PM callbacks are not set
        ASoC: SOF: define INFO_ flags in dsp_ops
      
      Keyon Jie (1):
        ASoC: SOF: topology: add support to smart amplifier
      
      Marcin Rajwa (2):
        ASoC: SOF: add a power_down_notify method
        ASoC: SOF: inform DSP that driver is going to be removed
      
      Pierre-Louis Bossart (2):
        ASoC: SOF: imx: make dsp_ops static
        ASoC: SOF: imx: make imx8m_dsp_ops static
      
      randerwang (1):
        ASoC: SOF: Intel: sdw: relax sdw machine select constraints
      
       include/sound/sof/topology.h |  2 ++
       sound/soc/sof/core.c         |  6 ++++++
       sound/soc/sof/imx/imx8.c     |  2 +-
       sound/soc/sof/imx/imx8m.c    |  8 +++++++-
       sound/soc/sof/intel/hda.c    | 10 +++++++++-
       sound/soc/sof/pm.c           | 19 +++++++++++++++++--
       sound/soc/sof/sof-priv.h     |  1 +
       sound/soc/sof/topology.c     |  1 +
       8 files changed, 44 insertions(+), 5 deletions(-)
      
      --
      2.26.0
      4ace9a0e
    • Mark Brown's avatar
      Merge series "ASoC: cleanup DAI/Component activity" from Kuninori Morimoto... · 9bb93a40
      Mark Brown authored
      Merge series "ASoC: cleanup DAI/Component activity" from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:
      
      Hi Mark
      
      These are v3 of DAI/Component activity cleanup.
      
      This patch-set exchanges soc-dapm.c :: snd_soc_dai_link_event_xxx()
      behavior which updates dai->active but not cares other actives.
      But I think original code was wrong.
      So, I believe these works correctly, but maybe need some tests or deep review.
      
      v1 -> v2
      	- function naming "activity" -> "active"
      
      v2 -> v3
      	- macro -> inline function
      	- added Reviewed-by from Ranjani, Acked-by from Peter
      
      Link: https://lore.kernel.org/r/875zd39frp.wl-kuninori.morimoto.gx@renesas.com
      Link: https://lore.kernel.org/r/87blmq9alx.wl-kuninori.morimoto.gx@renesas.com
      
      Kuninori Morimoto (21):
        ASoC: soc-pcm: replace snd_soc_runtime_activate()/deactivate() to macro
        ASoC: soc-dai: add snd_soc_dai_action()
        ASoC: soc-dapm: use snd_soc_dai_activate()/deactivate()
        ASoC: soc-dai: add snd_soc_dai_active()
        ASoC: soc-component: add snd_soc_component_active()
        ASoC: soc-dai: add snd_soc_dai_stream_active()
        ASoC: use snd_soc_xxx_active()
        ASoC: atomel: use snd_soc_xxx_active()
        ASoC: bcm: use snd_soc_xxx_active()
        ASoC: cirrus: use snd_soc_xxx_active()
        ASoC: codecs: use snd_soc_xxx_active()
        ASoC: fsl: use snd_soc_xxx_active()
        ASoC: intel: use snd_soc_xxx_active()
        ASoC: jz4740: use snd_soc_xxx_active()
        ASoC: mediatek: use snd_soc_xxx_active()
        ASoC: meson: use snd_soc_xxx_active()
        ASoC: pxa: use snd_soc_xxx_active()
        ASoC: ti: use snd_soc_xxx_active()
        ASoC: uniphier: use snd_soc_xxx_active()
        ASoC: dwc: use snd_soc_xxx_active()
        ASoC: cleanup dai / component active code
      
       include/sound/soc-component.h                |  6 +-
       include/sound/soc-dai.h                      | 21 +++++-
       include/sound/soc.h                          | 15 ++++-
       sound/soc/atmel/atmel_ssc_dai.c              |  4 +-
       sound/soc/bcm/bcm2835-i2s.c                  |  6 +-
       sound/soc/bcm/cygnus-ssp.c                   |  4 +-
       sound/soc/cirrus/ep93xx-i2s.c                |  4 +-
       sound/soc/codecs/adav80x.c                   |  4 +-
       sound/soc/codecs/arizona.c                   |  2 +-
       sound/soc/codecs/cs4271.c                    |  4 +-
       sound/soc/codecs/madera.c                    |  2 +-
       sound/soc/codecs/max98090.c                  |  6 +-
       sound/soc/codecs/tlv320aic23.c               |  2 +-
       sound/soc/codecs/tlv320dac33.c               |  2 +-
       sound/soc/codecs/uda1380.c                   |  2 +-
       sound/soc/codecs/wl1273.c                    |  2 +-
       sound/soc/codecs/wm8711.c                    |  2 +-
       sound/soc/codecs/wm8753.c                    |  4 +-
       sound/soc/dwc/dwc-i2s.c                      |  2 +-
       sound/soc/fsl/fsl_esai.c                     |  2 +-
       sound/soc/fsl/fsl_spdif.c                    |  4 +-
       sound/soc/intel/atom/sst-mfld-platform-pcm.c | 14 ++--
       sound/soc/jz4740/jz4740-i2s.c                |  8 +--
       sound/soc/mediatek/mt8173/mt8173-afe-pcm.c   |  8 +--
       sound/soc/meson/axg-tdm-interface.c          |  2 +-
       sound/soc/pxa/pxa-ssp.c                      |  8 +--
       sound/soc/pxa/pxa2xx-i2s.c                   |  2 +-
       sound/soc/soc-compress.c                     |  4 +-
       sound/soc/soc-core.c                         | 11 +--
       sound/soc/soc-dai.c                          | 23 +++++++
       sound/soc/soc-dapm.c                         |  8 +--
       sound/soc/soc-pcm.c                          | 70 +++++++-------------
       sound/soc/ti/davinci-mcasp.c                 |  2 +-
       sound/soc/ti/omap-dmic.c                     |  4 +-
       sound/soc/ti/omap-mcbsp.c                    |  4 +-
       sound/soc/ti/omap-mcpdm.c                    |  8 +--
       sound/soc/uniphier/aio-cpu.c                 |  4 +-
       37 files changed, 155 insertions(+), 125 deletions(-)
      
      --
      2.17.1
      9bb93a40
    • Mark Brown's avatar
      Merge series "ASoC: codecs: rt*-sdw: memory leaks and simplifications" from... · a1c3ec70
      Mark Brown authored
      Merge series "ASoC: codecs: rt*-sdw: memory leaks and simplifications" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      While debugging unrelated memory corruption errors, I detected issues
      related to the interaction with the SoundWire and ASoC cores, here are
      3 small patches to fix all this.
      
      Pierre-Louis Bossart (3):
        ASoC: codecs: rt*-sdw: don't assign slave_ops
        ASoC: codecs: rt*-sdw: fix memory leak in set_sdw_stream()
        ASoC: codecs: rt1308-sdw: remove duplicate allocation
      
       sound/soc/codecs/rt1308-sdw.c | 11 +++--------
       sound/soc/codecs/rt5682-sdw.c |  3 ---
       sound/soc/codecs/rt5682.c     |  3 +++
       sound/soc/codecs/rt700-sdw.c  |  3 ---
       sound/soc/codecs/rt700.c      |  3 +++
       sound/soc/codecs/rt711-sdw.c  |  3 ---
       sound/soc/codecs/rt711.c      |  3 +++
       sound/soc/codecs/rt715-sdw.c  |  3 ---
       sound/soc/codecs/rt715.c      |  3 +++
       9 files changed, 15 insertions(+), 20 deletions(-)
      
      base-commit: d731c1a0
      --
      2.20.1
      a1c3ec70
    • Mark Brown's avatar
      Merge series "ASoC: Intel: minor fixes to machine drivers" from Pierre-Louis... · 3cd4de03
      Mark Brown authored
      Merge series "ASoC: Intel: minor fixes to machine drivers" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      Minor button remap changes, inspired by recent Chromebook patches,
      typo in component string reported by Jaroslav and driver name change
      not submitted in last wm8804 contribution.
      
      Pierre-Louis Bossart (5):
        ASoC: Intel: soc-acpi: change machine driver name for WM8804 platforms
        ASoC: Intel: sof_sdw: fix typo in components string
        ASoC: Intel: sof_sdw_rt711: remap buttons
        ASoC: Intel: sof_sdw_rt700: remap buttons
        ASoC: Intel: cht_bsw_nau8824: remap BTN_0 as KEY_PLAYPAUSE
      
       sound/soc/intel/boards/cht_bsw_nau8824.c          | 4 ++--
       sound/soc/intel/boards/sof_sdw.c                  | 2 +-
       sound/soc/intel/boards/sof_sdw_rt700.c            | 8 ++++----
       sound/soc/intel/boards/sof_sdw_rt711.c            | 8 ++++----
       sound/soc/intel/common/soc-acpi-intel-bxt-match.c | 2 +-
       5 files changed, 12 insertions(+), 12 deletions(-)
      
      base-commit: d731c1a0
      --
      2.20.1
      3cd4de03
    • Mark Brown's avatar
      Merge series "ASoC: da7213: support for usage with simple-card" from Sebastian... · 949531d9
      Mark Brown authored
      Merge series "ASoC: da7213: support for usage with simple-card" from Sebastian Reichel <sebastian.reichel@collabora.com>:
      
      Hi,
      
      This extends the da7213 driver to be used with simple-audio-card in
      combination with a fixed clock. Here is a snippet of the downstream
      board's DT, that is supposed to be supported by this patchset.
      
      ---------------------------------------------------------------------
      / {
      	sound {
      		compatible = "simple-audio-card";
      		simple-audio-card,name = "audio-card";
      		simple-audio-card,format = "i2s";
      		simple-audio-card,bitclock-master = <&dailink_master>;
      		simple-audio-card,frame-master = <&dailink_master>;
      
      		simple-audio-card,widgets = "Speaker", "Ext Spk";
      		simple-audio-card,audio-routing = "Ext Spk", "LINE";
      
      		simple-audio-card,cpu {
      			sound-dai = <&ssi1>;
      		};
      
      		dailink_master: simple-audio-card,codec {
      			sound-dai = <&codec>;
      		};
      	};
      
      	clk_ext_audio_codec: clock-codec {
      		compatible = "fixed-clock";
      		#clock-cells = <0>;
      		clock-frequency = <12288000>;
      	};
      };
      
      &i2c1 {
      	codec: audio-codec@1a {
      		compatible = "dlg,da7212";
      		reg = <0x1a>;
      		#sound-dai-cells = <0>;
      		VDDA-supply = <&reg_2v5_audio>;
      		VDDSP-supply = <&reg_5v0_audio>;
      		VDDMIC-supply = <&reg_3v3_audio>;
      		VDDIO-supply = <&reg_3v3_audio>;
      		clocks = <&clk_ext_audio_codec>;
      		clock-names = "mclk";
      	};
      };
      ---------------------------------------------------------------------
      
      This is mostly a resend of PATCHv2. There was quite a bit of discussion
      for the last patch. As far as I can see no better solution was found and
      the patch is fine as is. Sorry for the delay in sending another revision.
      
      Changes since PATCHv2:
       * https://lore.kernel.org/alsa-devel/20191120152406.2744-1-sebastian.reichel@collabora.com/
       * dropped patch converting DA7213 into selectable Kconfig option (merged)
       * fix compatible string in patch 1 (DT binding) as pointed out by Adam Thomson
       * collected Reviewed-by from Adam Thomson for patch 2-4
      
      Changes since PATCHv1:
       * https://lore.kernel.org/alsa-devel/20191108174843.11227-1-sebastian.reichel@collabora.com/
       * add patch adding da7212 compatible to DT bindings
       * update regulator patch, so that VDDA is enabled together with VDDIO
         while the device is enabled to avoid device reset
       * update clock patch, so that automatic PLL handling is not enabled
         when PLL is configured manually
       * update clock patch, so that automatic PLL is disabled when the device
         is suspended
       * update clock patch, so that automatic PLL is configured into bypass
         mode when possible
      
      -- Sebastian
      
      Sebastian Reichel (5):
        ASoC: da7213: Add da7212 DT compatible
        ASoC: da7213: Add regulator support
        ASoC: da7213: move set_sysclk to codec level
        ASoC: da7213: move set_pll to codec level
        ASoC: da7213: add default clock handling
      
       .../devicetree/bindings/sound/da7213.txt      |   8 +-
       sound/soc/codecs/da7213.c                     | 172 ++++++++++++++++--
       sound/soc/codecs/da7213.h                     |  11 ++
       3 files changed, 175 insertions(+), 16 deletions(-)
      
      --
      2.26.2
      949531d9
    • Tang Bin's avatar
      ASoC: fsl_micfil: Fix unused assignment in fsl_set_clock_params() · 15b5c496
      Tang Bin authored
      Delete unused initialized value of 'ret', because it will
      be assigned by the function fsl_micfil_set_mclk_rate().
      Signed-off-by: default avatarTang Bin <tangbin@cmss.chinamobile.com>
      Link: https://lore.kernel.org/r/20200518110040.18036-1-tangbin@cmss.chinamobile.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      15b5c496