1. 15 Jan, 2018 4 commits
    • Takashi Iwai's avatar
      ALSA: hda - Use IS_REACHABLE() for dependency on input · c469652b
      Takashi Iwai authored
      The commit ffcd28d8 ("ALSA: hda - Select INPUT for Realtek
      HD-audio codec") introduced the reverse-selection of CONFIG_INPUT for
      Realtek codec in order to avoid the mess with dependency between
      built-in and modules.  Later on, we obtained IS_REACHABLE() macro
      exactly for this kind of problems, and now we can remove th INPUT
      selection in Kconfig and put IS_REACHABLE(INPUT) to the appropriate
      places in the code, so that the driver doesn't need to select other
      subsystem forcibly.
      
      Fixes: ffcd28d8 ("ALSA: hda - Select INPUT for Realtek HD-audio codec")
      Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
      Acked-by: Randy Dunlap <rdunlap@infradead.org> # and build-tested
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      c469652b
    • Takashi Iwai's avatar
      ALSA: seq: Process queue tempo/ppq change in a shot · 671ec859
      Takashi Iwai authored
      The SNDRV_SEQ_IOCTL_SET_QUEUE_TEMPO ioctl sets the tempo and the ppq
      in a single call, while the current implementation updates each value
      one by one.  This is a bit racy, and also suboptimal from the
      performance POV, as each call does re-acquire the lock and invokes
      the update of ALSA timer resolution.
      
      This patch reorganizes the code slightly so that we change both the
      tempo and the ppq in a shot.  The skew value can be put into the same
      lock, but this is rather a rarely used feature and completely
      independent from the temp/ppq (it's evaluated only in the interrupt),
      so it's left as it was.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      671ec859
    • Takashi Iwai's avatar
      Merge branch 'for-linus' into for-next · 4ea5553a
      Takashi Iwai authored
      Back-merge to the development branch for further fixes of sequencer
      stuff.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      4ea5553a
    • Martin Peres's avatar
      ALSA: usb-audio: Add a quirk for Nura's first gen headset · 33193dca
      Martin Peres authored
      The capture interface does not work, and the playback interface
      actually supports only 48kHz unlike what is advertised (44.1, 32, 22,
      16, 8).
      
      The only unknown here is if there are other devices that use the same
      product ID, but given that this ID is currently unknown, I would assume
      it is specially allocated for the nura headset.
      Signed-off-by: default avatarMartin Peres <martin.peres@free.fr>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      33193dca
  2. 12 Jan, 2018 29 commits
  3. 11 Jan, 2018 7 commits