1. 17 Jul, 2018 6 commits
  2. 16 Jul, 2018 14 commits
  3. 12 Jul, 2018 2 commits
  4. 11 Jul, 2018 1 commit
    • Timo Wischer's avatar
      ALSA: pcm: Fix snd_interval_refine first/last with open min/max · ff2d6acd
      Timo Wischer authored
      Without this commit the following intervals [x y), (x y) were be
      replaced to (y-1 y) by snd_interval_refine_last(). This was also done
      if y-1 is part of the previous interval.
      With this changes it will be replaced with [y-1 y) in case of y-1 is
      part of the previous interval. A similar behavior will be used for
      snd_interval_refine_first().
      
      This commit adapts the changes for alsa-lib of commit
      9bb985c ("pcm: snd_interval_refine_first/last: exclude value only if
      also excluded before")
      Signed-off-by: default avatarTimo Wischer <twischer@de.adit-jv.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ff2d6acd
  5. 06 Jul, 2018 2 commits
  6. 04 Jul, 2018 2 commits
    • Takashi Iwai's avatar
      ALSA: pcm: Use snd_pcm_stop_xrun() for xrun injection · e647f5a5
      Takashi Iwai authored
      Basically the xrun injection routine can simply call the standard
      helper snd_pcm_stop_xrun(), but with one exception: it may be called
      even when the stream is closed.
      
      Make snd_pcm_stop_xrun() more robust and check the NULL runtime state,
      and simplify xrun injection code by calling it.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      e647f5a5
    • Takashi Iwai's avatar
      ALSA: pcm: trace XRUN event at injection, too · 9cd641ed
      Takashi Iwai authored
      The PCM xrun injection triggers directly snd_pcm_stop() without the
      standard xrun handler, hence it's not recorded on the event buffer.
      Ditto for snd_pcm_stop_xrun() call and SNDRV_PCM_IOCTL_XRUN ioctl.
      They are inconvenient from the debugging POV.
      
      Let's make them to trigger XRUN via the standard helper more
      consistently.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      9cd641ed
  7. 03 Jul, 2018 1 commit
  8. 02 Jul, 2018 3 commits
  9. 29 Jun, 2018 1 commit
    • Nicholas Mc Guire's avatar
      ALSA: snd-aoa: add of_node_put() in error path · 222bce5e
      Nicholas Mc Guire authored
       Both calls to of_find_node_by_name() and of_get_next_child() return a
      node pointer with refcount incremented thus it must be explicidly
      decremented here after the last usage. As we are assured to have a
      refcounted  np  either from the initial
      of_find_node_by_name(NULL, name); or from the of_get_next_child(gpio, np)
      in the while loop if we reached the error code path below, an
      x of_node_put(np) is needed.
      Signed-off-by: default avatarNicholas Mc Guire <hofrat@osadl.org>
      Fixes: commit f3d9478b ("[ALSA] snd-aoa: add snd-aoa")
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      222bce5e
  10. 28 Jun, 2018 8 commits