1. 23 Feb, 2024 7 commits
  2. 22 Feb, 2024 3 commits
  3. 21 Feb, 2024 5 commits
  4. 20 Feb, 2024 1 commit
  5. 19 Feb, 2024 8 commits
  6. 16 Feb, 2024 2 commits
  7. 15 Feb, 2024 7 commits
  8. 14 Feb, 2024 3 commits
  9. 13 Feb, 2024 4 commits
    • Richard Fitzgerald's avatar
      ASoC: cs35l56: Workaround for ACPI with broken spk-id-gpios property · 0db0c177
      Richard Fitzgerald authored
      The ACPI in some SoundWire laptops has a spk-id-gpios property but
      it points to the wrong Device node. This patch adds a workaround to
      try to get the GPIO directly from the correct Device node.
      
      If the attempt to get the GPIOs from the property fails, the workaround
      looks for the SDCA node "AF01", which is where the GpioIo resource is
      defined. If this exists, a spk-id-gpios mapping is added to that node
      and then the GPIO is got from that node using the property.
      Signed-off-by: default avatarRichard Fitzgerald <rf@opensource.cirrus.com>
      Link: https://msgid.link/r/20240209111840.1543630-1-rf@opensource.cirrus.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      0db0c177
    • Mark Brown's avatar
      ASoC: SOF: Intel: pci-tgl/lnl: Change default paths · 9dbe95e2
      Mark Brown authored
      Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:
      
      Hi,
      
      Align the IPC4 firmware path/name and the topology path to the documentation:
      default_fw_path:     intel/sof-ipc4/{platform_name}
      default_lib_path:    intel/sof-ipc4-lib/{platform_name}
      default_tplg_path:   intel/sof-ipc4-tplg
      default_fw_filename: sof-{platform_name}.ri
      
      Tiger Lake and Lunar Lake support is not yet available via the official
      firmware release, the paths can be changed now to avoid misalignment in the
      future.
      
      Regards,
      Peter
      ---
      Peter Ujfalusi (2):
        ASoC: SOF: Intel: pci-tgl: Change the default paths and firmware names
        ASoC: SOF: Intel: pci-lnl: Change the topology path to
          intel/sof-ipc4-tplg
      
       sound/soc/sof/intel/pci-lnl.c |  2 +-
       sound/soc/sof/intel/pci-tgl.c | 64 +++++++++++++++++------------------
       2 files changed, 33 insertions(+), 33 deletions(-)
      
      --
      2.43.0
      9dbe95e2
    • Takashi Iwai's avatar
      ALSA: seq: fix function cast warnings · d7bf7380
      Takashi Iwai authored
      clang-16 points out a control flow integrity (kcfi) issue when event
      callbacks get converted to incompatible types:
      
      sound/core/seq/seq_midi.c:135:30: error: cast from 'int (*)(struct snd_rawmidi_substream *, const char *, int)' to 'snd_seq_dump_func_t' (aka 'int (*)(void *, void *, int)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
        135 |                 snd_seq_dump_var_event(ev, (snd_seq_dump_func_t)dump_midi, substream);
            |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      sound/core/seq/seq_virmidi.c:83:31: error: cast from 'int (*)(struct snd_rawmidi_substream *, const unsigned char *, int)' to 'snd_seq_dump_func_t' (aka 'int (*)(void *, void *, int)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]
         83 |                         snd_seq_dump_var_event(ev, (snd_seq_dump_func_t)snd_rawmidi_receive, vmidi->substream);
            |                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      For addressing those errors, introduce wrapper functions that are used
      for callbacks and bridge to the actual function call with pointer
      cast.
      
      The code was originally added with the initial ALSA merge in linux-2.5.4.
      
      [ the patch description shamelessly copied from Arnd's original patch
        -- tiwai ]
      
      Fixes: 1da177e4 ("Linux-2.6.12-rc2")
      Reported-by: default avatarArnd Bergmann <arnd@arndb.de>
      Link: https://lore.kernel.org/r/20240213101020.459183-1-arnd@kernel.org
      Link: https://lore.kernel.org/r/20240213135343.16411-1-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      d7bf7380
    • Tomasz Kudela's avatar
      ALSA: hda: Add Lenovo Legion 7i gen7 sound quirk · 24b6332c
      Tomasz Kudela authored
      Add sound support for the Legion 7i gen7 laptop (16IAX7).
      Signed-off-by: default avatarTomasz Kudela <ramzes005@gmail.com>
      Link: https://lore.kernel.org/r/20240213115614.10420-1-ramzes005@gmail.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      24b6332c