Skip to content
Snippets Groups Projects
  1. Oct 30, 2024
  2. Oct 29, 2024
  3. Oct 28, 2024
  4. Oct 25, 2024
  5. Oct 24, 2024
  6. Oct 23, 2024
  7. Oct 22, 2024
  8. Oct 21, 2024
  9. Oct 18, 2024
    • Mark Brown's avatar
      ASoC/SoundWire: clean up link DMA during stop for IPC4 · d641c164
      Mark Brown authored
      Merge series from Bard Liao <yung-chuan.liao@linux.intel.com>:
      
      Clean up the link DMA for playback during stop for IPC4 is required to
      reset the DMA read/write pointers when the stream is prepared and
      restarted after a call to snd_pcm_drain()/snd_pcm_drop().
      
      The change is mainly on ASoC. We may go via ASoC tree with Vinod's
      Acked-by tag
      
      Ranjani Sridharan (4):
        ASoC: SOF: ipc4-topology: Do not set ALH node_id for aggregated DAIs
        ASoC: SOF: Intel: hda: Handle prepare without close for non-HDA DAI's
        soundwire: intel_ace2x: Send PDI stream number during prepare
        ASoC: SOF: Intel: hda: Always clean up link DMA during stop
      
       drivers/soundwire/intel_ace2x.c   | 19 +++++-----------
       sound/soc/sof/intel/hda-dai-ops.c | 23 +++++++++----------
       sound/soc/sof/intel/hda-dai.c     | 37 +++++++++++++++++++++++++++----
       sound/soc/sof/ipc4-topology.c     | 15 +++++++++++--
       4 files changed, 62 insertions(+), 32 deletions(-)
      
      --
      2.43.0
      d641c164
    • Chancel Liu's avatar
      ASoC: fsl_micfil: Add a flag to distinguish with different volume control types · da95e891
      Chancel Liu authored
      
      On i.MX8MM the register of volume control has positive and negative
      values. It is different from other platforms like i.MX8MP and i.MX93
      which only have positive values. Add a volume_sx flag to use SX_TLV
      volume control for this kind of platform. Use common TLV volume control
      for other platforms.
      
      Fixes: cdfa92eb ("ASoC: fsl_micfil: Correct the number of steps on SX controls")
      Signed-off-by: default avatarChancel Liu <chancel.liu@nxp.com>
      Reviewed-by: default avatarDaniel Baluta <daniel.baluta@nxp.com>
      Link: https://patch.msgid.link/20241017071507.2577786-1-chancel.liu@nxp.com
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      da95e891
    • Alexey Klimov's avatar
      ASoC: codecs: lpass-rx-macro: fix RXn(rx,n) macro for DSM_CTL and SEC7 regs · 9fc9ef05
      Alexey Klimov authored
      
      Turns out some registers of pre-2.5 version of rxmacro codecs are not
      located at the expected offsets but 0xc further away in memory. So far
      the detected registers are CDC_RX_RX2_RX_PATH_SEC7 and
      CDC_RX_RX2_RX_PATH_DSM_CTL.
      
      CDC_RX_RXn_RX_PATH_DSM_CTL(rx, n) macro incorrectly generates the address
      0x540 for RX2 but it should be 0x54C and it also overwrites
      CDC_RX_RX2_RX_PATH_SEC7 which is located at 0x540.
      The same goes for CDC_RX_RXn_RX_PATH_SEC7(rx, n).
      
      Fix this by introducing additional rxn_reg_stride2 offset. For 2.5 version
      and above this offset will be equal to 0.
      With such change the corresponding RXn() macros will generate the same
      values for 2.5 codec version for all RX paths and the same old values
      for pre-2.5 version for RX0 and RX1. However for the latter case with
      RX2 path it will also add rxn_reg_stride2 on top.
      
      While at this, also remove specific if-check for INTERP_AUX from
      rx_macro_digital_mute() and rx_macro_enable_interp_clk(). These if-check
      was used to handle such special offset for AUX interpolator but since
      CDC_RX_RXn_RX_PATH_SEC7(rx, n) and CDC_RX_RXn_RX_PATH_DSM_CTL(rx, n)
      macros will generate the correst addresses of dsm register, they are no
      longer needed.
      
      Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
      Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
      Signed-off-by: default avatarAlexey Klimov <alexey.klimov@linaro.org>
      Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
      Link: https://patch.msgid.link/20241016221049.1145101-1-alexey.klimov@linaro.org
      
      
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      9fc9ef05
  10. Oct 17, 2024
  11. Oct 16, 2024
  12. Oct 15, 2024
  13. Oct 14, 2024
Loading