aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/firewire/dice.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/firewire/dice.c b/sound/firewire/dice.c
index 61dd00c4fae3..3395c8ba7af1 100644
--- a/sound/firewire/dice.c
+++ b/sound/firewire/dice.c
@@ -551,8 +551,9 @@ static int dice_change_rate(struct dice *dice, unsigned int clock_rate)
551 if (err < 0) 551 if (err < 0)
552 return err; 552 return err;
553 553
554 wait_for_completion_timeout(&dice->clock_accepted, 554 if (!wait_for_completion_timeout(&dice->clock_accepted,
555 msecs_to_jiffies(100)); 555 msecs_to_jiffies(100)))
556 dev_warn(&dice->unit->device, "clock change timed out\n");
556 557
557 return 0; 558 return 0;
558} 559}