1. 15 Jul, 2022 3 commits
    • Stefan Binding's avatar
      ALSA: hda: cs35l41: Support Hibernation during Suspend · 1873ebd3
      Stefan Binding authored
      CS35L41 supports hibernation during suspend when using
      DSP firmware.
      When the driver suspends it will hibernate the part, if
      firmware is running, and resume will wake from hibernation.
      CS35L41 driver will suspend/resume when requested by
      hda driver.
      Note that suspend/resume and hibernation is only supported
      when firmware is running.
      Signed-off-by: default avatarStefan Binding <sbinding@opensource.cirrus.com>
      Signed-off-by: default avatarVitaly Rodionov <vitalyr@opensource.cirrus.com>
      Link: https://lore.kernel.org/r/20220630002335.366545-10-vitalyr@opensource.cirrus.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      1873ebd3
    • Takashi Iwai's avatar
      Merge tag 'asoc-v5.20' of... · 29a249d7
      Takashi Iwai authored
      Merge tag 'asoc-v5.20' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-next
      
      ASoC: Updates for v5.20
      
      This is a big release thus far and there will probably be more changes
      to come, it's a combination of a larger than usual crop of new drivers
      and some subsysetm wide cleanups from Charles rather than anything
      structural.  The SOF and Intel DSP code both also continue to be very
      actively developed.
      
       - Restructing of the set_fmt() callbacks to be specified in terms of
         the device rather than with semantics depending on if the device is
         supposed to be a CODEC or SoC, making things clearer in situations
         like CODEC to CODEC links.
       - Clean up of the way we flag which DAI naming scheme we use to reflect
         the progress that's been made modernising things.
       - Merge of more of the Intel AVS driver stack, including some board
         integrations.
       - New version 4 mechanism for communication with SOF DSPs.
       - Suppoort for dynamically selecting the PLL to use at runtime on i.MX
         platforms.
       - Improvements for CODEC to CODEC support in the generic cards.
       - Support for AMD Jadeite and various machines, Intel MetorLake DSPs,
         Mediatek MT8186 DSPs and MT6366, nVidia Tegra MDDRC, OPE and PEQ, NXP
         TFA9890, Qualcomm SDM845, WCD9335 and WAS883x, and Texas Instruments
         TAS2780.
      29a249d7
    • Zheyu Ma's avatar
      ALSA: bcd2000: Fix a UAF bug on the error path of probing · ffb2759d
      Zheyu Ma authored
      When the driver fails in snd_card_register() at probe time, it will free
      the 'bcd2k->midi_out_urb' before killing it, which may cause a UAF bug.
      
      The following log can reveal it:
      
      [   50.727020] BUG: KASAN: use-after-free in bcd2000_input_complete+0x1f1/0x2e0 [snd_bcd2000]
      [   50.727623] Read of size 8 at addr ffff88810fab0e88 by task swapper/4/0
      [   50.729530] Call Trace:
      [   50.732899]  bcd2000_input_complete+0x1f1/0x2e0 [snd_bcd2000]
      
      Fix this by adding usb_kill_urb() before usb_free_urb().
      
      Fixes: b47a2229 ("ALSA: MIDI driver for Behringer BCD2000 USB device")
      Signed-off-by: default avatarZheyu Ma <zheyuma97@gmail.com>
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20220715010515.2087925-1-zheyuma97@gmail.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ffb2759d
  2. 14 Jul, 2022 13 commits
  3. 13 Jul, 2022 18 commits
  4. 12 Jul, 2022 6 commits