1. 17 Nov, 2017 2 commits
    • Takashi Iwai's avatar
      ALSA: hda: Fix too short HDMI/DP chmap reporting · c2432466
      Takashi Iwai authored
      We got a regression report about the HD-audio HDMI chmap, where some
      surround channels are reported as UNKNOWN.  The git bisection pointed
      the culprit at the commit 9b3dc8aa ("ALSA: hda - Register chmap
      obj as priv data instead of codec").  The story behind scene is like
      this:
      
      - While moving the code out of the legacy HDA to the HDA common place,
        the patch modifies the code to obtain the chmap array indirectly in
        a byte array, and it expands it to kctl value array.
      - At the latter operation, the size of the array is wrongly passed by
        sizeof() to the pointer.
      - It can be 4 on 32bit arch, thus too short for 6+ channels.
        (And that's the reason why it didn't hit other persons; it's 8 on
        64bit arch, thus it's usually enough.)
      
      The code was further changed meanwhile, but the problem persisted.
      Let's fix it by correctly evaluating the array size.
      
      Fixes: 9b3dc8aa ("ALSA: hda - Register chmap obj as priv data instead of codec")
      Reported-by: default avatarVDR User <user.vdr@gmail.com>
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      c2432466
    • Julian Scheel's avatar
      ALSA: usb-audio: uac1: Invalidate ctl on interrupt · b2500b58
      Julian Scheel authored
      When an interrupt occurs, the value of at least one of the belonging
      controls should have changed. To make sure they get re-read from device
      on the next read, invalidate the cache. This was correctly implemented
      for uac2 already, but missing for uac1.
      Signed-off-by: default avatarJulian Scheel <julian@jusst.de>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      b2500b58
  2. 15 Nov, 2017 3 commits
  3. 13 Nov, 2017 3 commits
    • Chris Gorman's avatar
      Documentation: sound: hd-audio: notes.rst · 7087cb8f
      Chris Gorman authored
      Fixed reference to file HD-Audio-Models.rst which has been moved to
      hd-audio/models.rst
      Signed-off-by: default avatarChris Gorman <chrisjohgorman@gmail.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      7087cb8f
    • Takashi Iwai's avatar
      Merge tag 'asoc-v4.15' of... · 76727c2c
      Takashi Iwai authored
      Merge tag 'asoc-v4.15' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
      
      ASoC: Updates for v4.15
      
      The biggest thing this release has been the conversion of the AC98 bus
      to the driver model, that's been a long time coming so thanks to Robert
      Jarzmik for his dedication there.  Due to there being some AC97 MFD
      there's a few fairly large changes in input and the MFD layer, mainly to
      the wm97xx driver.
      
      There's also some drivers/drm changes to support the new AMD Stoney
      platform, these are shared with the DRM subsystem and should be being
      merged via both.
      
      Within the subsystem the overwhelming bulk of the changes is in the
      Intel drivers which continue to need lots of cleanups and fixes, this
      release they've also gained support for their open source firmware.
      There's also some large changs in the core as Morimoto-san continues to
      mirror operations into the component level in preparation for conversion
      of drivers to that.
      
       - The AC97 bus has finally caught up with the driver model thanks to
         some dedicated and persistent work from Robert Jarzmik.
       - Continued work from Morimoto-san on moving us towards being able to
         use components for everything.
       - Lots of cleanups for the Intel platform code, including support for
         their open source audio firmware.
       - Support for scaling MCLK with sample rate in simple-card.
       - Support for AMD Stoney platform.
      76727c2c
    • Takashi Iwai's avatar
      Merge branch 'for-next' into for-linus · c429bda2
      Takashi Iwai authored
      Pull 4.15 updates to take over the previous urgent fixes.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      c429bda2
  4. 10 Nov, 2017 30 commits
  5. 09 Nov, 2017 2 commits