1. 30 Jun, 2020 2 commits
  2. 25 Jun, 2020 1 commit
    • Hui Wang's avatar
      ALSA: hda - let hs_mic be picked ahead of hp_mic · 6a6ca788
      Hui Wang authored
      We have a Dell AIO, there is neither internal speaker nor internal
      mic, only a multi-function audio jack on it.
      
      Users reported that after freshly installing the OS and plug
      a headset to the audio jack, the headset can't output sound. I
      reproduced this bug, at that moment, the Input Source is as below:
      Simple mixer control 'Input Source',0
        Capabilities: cenum
        Items: 'Headphone Mic' 'Headset Mic'
        Item0: 'Headphone Mic'
      
      That is because the patch_realtek will set this audio jack as mic_in
      mode if Input Source's value is hp_mic.
      
      If it is not fresh installing, this issue will not happen since the
      systemd will run alsactl restore -f /var/lib/alsa/asound.state, this
      will set the 'Input Source' according to history value.
      
      If there is internal speaker or internal mic, this issue will not
      happen since there is valid sink/source in the pulseaudio, the PA will
      set the 'Input Source' according to active_port.
      
      To fix this issue, change the parser function to let the hs_mic be
      stored ahead of hp_mic.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarHui Wang <hui.wang@canonical.com>
      Link: https://lore.kernel.org/r/20200625083833.11264-1-hui.wang@canonical.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      6a6ca788
  3. 24 Jun, 2020 1 commit
    • Takashi Iwai's avatar
      ALSA: usb-audio: Fix OOB access of mixer element list · 220345e9
      Takashi Iwai authored
      The USB-audio mixer code holds a linked list of usb_mixer_elem_list,
      and several operations are performed for each mixer element.  A few of
      them (snd_usb_mixer_notify_id() and snd_usb_mixer_interrupt_v2())
      assume each mixer element being a usb_mixer_elem_info object that is a
      subclass of usb_mixer_elem_list, cast via container_of() and access it
      members.  This may result in an out-of-bound access when a
      non-standard list element has been added, as spotted by syzkaller
      recently.
      
      This patch adds a new field, is_std_info, in usb_mixer_elem_list to
      indicate that the element is the usb_mixer_elem_info type or not, and
      skip the access to such an element if needed.
      
      Reported-by: syzbot+fb14314433463ad51625@syzkaller.appspotmail.com
      Reported-by: syzbot+2405ca3401e943c538b5@syzkaller.appspotmail.com
      Cc: <stable@vger.kernel.org>
      Link: https://lore.kernel.org/r/20200624122340.9615-1-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      220345e9
  4. 23 Jun, 2020 2 commits
  5. 22 Jun, 2020 1 commit
    • Takashi Iwai's avatar
      Merge tag 'asoc-fix-v5.8-rc2' of... · 91ef3d9f
      Takashi Iwai authored
      Merge tag 'asoc-fix-v5.8-rc2' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
      
      ASoC: Fixes for v5.8
      
      This is a collection of mostly small fixes, mostly fixing fallout from
      some of the DPCM changes that went in last time around which shook out
      some issues on i.MX and Qualcomm platforms.  The addition of a managed
      version of snd_soc_register_dai() is to fix resource leaks.
      
      There's also a few new device IDs for x86 systems.
      91ef3d9f
  6. 18 Jun, 2020 3 commits
  7. 17 Jun, 2020 7 commits
  8. 16 Jun, 2020 2 commits
  9. 15 Jun, 2020 11 commits
  10. 12 Jun, 2020 5 commits
  11. 11 Jun, 2020 3 commits
  12. 10 Jun, 2020 1 commit
  13. 09 Jun, 2020 1 commit
    • Mark Brown's avatar
      Merge series "ASoC: Fix dailink checks for DPCM" from Pierre-Louis Bossart... · 44ce45f8
      Mark Brown authored
      Merge series "ASoC: Fix dailink checks for DPCM" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      We've had a couple of changes that introduce regressions with the
      multi-cpu DAI solutions, and while trying to fix them we found
      additional inconsistencies that should also go to stable branches.
      
      Bard Liao (1):
        ASoC: core: only convert non DPCM link to DPCM link
      
      Pierre-Louis Bossart (3):
        ASoC: soc-pcm: dpcm: fix playback/capture checks
        ASoC: Intel: boards: replace capture_only by dpcm_capture
        ASoC: SOF: nocodec: conditionally set dpcm_capture/dpcm_playback flags
      
       sound/soc/intel/boards/glk_rt5682_max98357a.c |  2 +-
       sound/soc/intel/boards/kbl_da7219_max98927.c  |  4 +-
       sound/soc/intel/boards/kbl_rt5663_max98927.c  |  2 +-
       .../intel/boards/kbl_rt5663_rt5514_max98927.c |  2 +-
       sound/soc/soc-core.c                          | 22 ++++++++--
       sound/soc/soc-pcm.c                           | 44 ++++++++++++++-----
       sound/soc/sof/nocodec.c                       |  6 ++-
       7 files changed, 62 insertions(+), 20 deletions(-)
      
      base-commit: 8a9144c1
      --
      2.20.1
      44ce45f8