ALSA: firewire: introduce amdtp_out_stream_running()
authorClemens Ladisch <clemens@ladisch.de>
Sun, 4 Sep 2011 20:15:44 +0000 (22:15 +0200)
committerClemens Ladisch <clemens@ladisch.de>
Sun, 20 Oct 2013 20:07:57 +0000 (22:07 +0200)
commit20b65dd040ce38e2bc0fa3cae13b954c865b61fe
tree27b8ae49b43b2b6b4e6635128936ebfcfd20d75c
parent9dd81e3143b57d1bf7e8377ab29b86090baa55a8
ALSA: firewire: introduce amdtp_out_stream_running()

Introduce the helper function amdtp_out_stream_running().  This makes
many checks in amdtp.c clearer and frees the device drivers from having
to track this with a separate variable.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
sound/firewire/amdtp.c
sound/firewire/amdtp.h
sound/firewire/dice.c
sound/firewire/speakers.c