]> Pileus Git - ~andy/linux/commit
ALSA: firewire: extend snd_fw_transaction()
authorClemens Ladisch <clemens@ladisch.de>
Sun, 4 Sep 2011 20:17:38 +0000 (22:17 +0200)
committerClemens Ladisch <clemens@ladisch.de>
Sun, 20 Oct 2013 20:07:57 +0000 (22:07 +0200)
commit1b70485f135a39d5f2d8c392a16817456fa3a5cd
treecf1b9b833619374c3169c368890652d53594b43d
parenta644a9473f7f9519e2fe519136959dd0e671572a
ALSA: firewire: extend snd_fw_transaction()

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: Clemens Ladisch <clemens@ladisch.de>
sound/firewire/cmp.c
sound/firewire/dice.c
sound/firewire/fcp.c
sound/firewire/isight.c
sound/firewire/lib.c
sound/firewire/lib.h
sound/firewire/scs1x.c
sound/firewire/speakers.c