1. 02 Jul, 2024 4 commits
    • Richard Fitzgerald's avatar
      firmware: cs_dsp: Don't allow writes to read-only controls · 62412a93
      Richard Fitzgerald authored
      Add a check to cs_dsp_coeff_write_ctrl() to abort if the control
      is not writeable.
      
      The cs_dsp code originated as an ASoC driver (wm_adsp) where all
      controls were exported as ALSA controls. It relied on ALSA to
      enforce the read-only permission. Now that the code has been
      separated from ALSA/ASoC it must perform its own permission check.
      
      This isn't currently causing any problems so there shouldn't be any
      need to backport this. If the client of cs_dsp exposes the control as
      an ALSA control, it should set permissions on that ALSA control to
      protect it. The few uses of cs_dsp_coeff_write_ctrl() inside drivers
      are for writable controls.
      Signed-off-by: default avatarRichard Fitzgerald <rf@opensource.cirrus.com>
      Link: https://patch.msgid.link/20240702110809.16836-1-rf@opensource.cirrus.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      62412a93
    • Mark Brown's avatar
      ASoC: simple-audio-mux: add state-labels · a893a804
      Mark Brown authored
      Merge series from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:
      
      simple-audio-mux is designed to be used generally, thus "Input 1" or
      "Input 2" are used to selecting MUX input. This numbered inputs would work,
      but might be not user friendly in some case, for example in case of system
      hardware design has some clear labels.
      Adds new "state-labels" property and enable to select MUX by own state names.
      
      Original
      	> amixer set "MUX" "Input 1"
      	> amixer set "MUX" "Input 2"
      
      Use mux-names
      	sound_mux: mux {
      		compatible = "simple-audio-mux";
      		mux-gpios = <...>;
      =>		state-labels = "Label_A", "Label_B";
      	};
      
      	> amixer set "MUX" "Label_A"
      	> amixer set "MUX" "Label_B"
      a893a804
    • Mark Brown's avatar
      ASoC: cs35l56: Remove obsolete and redundant code · d0401d07
      Mark Brown authored
      Merge series from Richard Fitzgerald <rf@opensource.cirrus.com>:
      
      These commits remove various code that is either no longer needed,
      or is redundant.
      d0401d07
    • Mark Brown's avatar
      ASoC: codecs: wsa88xx: add support for static port · cc1deba8
      Mark Brown authored
      Merge series from srinivas.kandagatla@linaro.org:
      
      Existing way of allocating soundwire master ports on Qualcommm platforms is
      dynamic, and in linear order starting from 1 to MAX_PORTS.
      This will work as long as soundwire device ports are 1:1 mapped
      linearly. However on most Qcom SoCs like SM8550, SM8650, x1e80100, these
      are NOT mapped in that order.
      
      The result of this is that only one speaker among the pair of speakers
      is always silent, With recent changes for WSA codec to support codec
      versions and along with these patches we are able to get all speakers
      working on these SoCs.
      cc1deba8
  2. 01 Jul, 2024 18 commits
  3. 28 Jun, 2024 8 commits
  4. 27 Jun, 2024 3 commits
  5. 26 Jun, 2024 7 commits