1. 19 Aug, 2017 1 commit
  2. 09 Nov, 2014 1 commit
    • Takashi Iwai's avatar
      ALSA: pcm: Add snd_pcm_stop_xrun() helper · 1fb8510c
      Takashi Iwai authored
      Add a new helper function snd_pcm_stop_xrun() to the standard sequnce
      lock/snd_pcm_stop(XRUN)/unlock by a single call, and replace the
      existing open codes with this helper.
      The function checks the PCM running state to prevent setting the wrong
      state, too, for more safety.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
  3. 14 Feb, 2014 1 commit
  4. 20 Oct, 2013 1 commit
    • Clemens Ladisch's avatar
      ALSA: firewire: extend snd_fw_transaction() · 1b70485f
      Clemens Ladisch authored
      Add a flag to snd_fw_transaction() to allow it to abort when a bus reset
      happens.  This removes most of the duplicated error handling loops that
      were required around calls to the low-level fw_run_transaction().
      Also add a flag to suppress error messages; errors are expected when we
      attempt to clean up after the device was unplugged.
      Signed-off-by: default avatarClemens Ladisch <clemens@ladisch.de>
  5. 09 Jun, 2013 1 commit
    • Stefan Richter's avatar
      firewire: introduce fw_driver.probe and .remove methods · 94a87157
      Stefan Richter authored
      FireWire upper layer drivers are converted from generic
          struct driver.probe() and .remove()
      to bus-specific
          struct fw_driver.probe() and .remove().
      The new .probe() adds a const struct ieee1394_device_id *id argument,
      indicating the entry in the driver's device identifiers table which
      matched the fw_unit to be probed.  This new argument is used by the
      snd-firewire-speakers driver to look up device-specific parameters and
      methods.  There is at least one other FireWire audio driver currently in
      development in which this will be useful too.
      The new .remove() drops the unused error return code.
      Although all in-tree drivers are being converted to the new methods,
      support for the old methods is left in place in this commit.  This
      allows public developer trees to merge this commit and then move to the
      new fw_driver methods.
      Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
      Acked-by: Clemens Ladisch <clemens@ladisch.de> (for sound/firewire/)
      Cc: Peter Hurley <peter@hurleysoftware.com> (for drivers/staging/fwserial/)
  6. 15 Jan, 2012 1 commit
  7. 15 Aug, 2011 1 commit
  8. 17 Jun, 2011 1 commit
  9. 11 May, 2011 8 commits