summaryrefslogtreecommitdiff
path: root/sound/firewire/dice.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2011-09-04 22:12:48 +0200
committerClemens Ladisch <clemens@ladisch.de>2013-10-20 22:07:57 +0200
commite84d15f619c13e83b33023c84527ee35ef01b6b4 (patch)
treea5d06e046895ebc5a14d06c93fdd4f39eb7c840a /sound/firewire/dice.c
parentd13109673ac49cd4b992df17238ee030be7ed7f0 (diff)
ALSA: dice, firewire-lib: add blocking mode
Allow AMDTP output streams to use blocking mode. Use it for DICE devices, because the old DICE-II chip will in some cases not be able to lock to non-blocking streams (erratum E7). Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'sound/firewire/dice.c')
-rw-r--r--sound/firewire/dice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/firewire/dice.c b/sound/firewire/dice.c
index 02c7b5a42373..63446f86cdd7 100644
--- a/sound/firewire/dice.c
+++ b/sound/firewire/dice.c
@@ -942,7 +942,7 @@ static int dice_probe(struct fw_unit *unit, const struct ieee1394_device_id *id)
goto err_notification_handler;
dice->resources.channels_mask = 0x00000000ffffffffuLL;
- err = amdtp_out_stream_init(&dice->stream, unit, CIP_NONBLOCKING);
+ err = amdtp_out_stream_init(&dice->stream, unit, CIP_BLOCKING);
if (err < 0)
goto err_resources;