Skip to content

Commit aec045b

Browse files
takaswietiwai
authored andcommitted
ALSA: dice: change notification mask to detect lock status change
With former patchset, ALSA dice driver doesn't change clock parameters anymore, while the driver still touch clock configuration for phase lock. Although the locking status is in Dice notification, the driver doesn't detect it. Usually, this causes no issues because in most case NOTIFY_LOCK_CHG notification transfers after NOTIFY_CLOCK_ACCEPTED notification, while it's better to detect locking status. This commit changes notification mask just to detect lock status change. Signed-off-by: Takashi Sakamoto <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent fa9a435 commit aec045b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/firewire/dice/dice-transaction.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ static void dice_notification(struct fw_card *card, struct fw_request *request,
156156

157157
fw_send_response(card, request, RCODE_COMPLETE);
158158

159-
if (bits & NOTIFY_CLOCK_ACCEPTED)
159+
if (bits & NOTIFY_LOCK_CHG)
160160
complete(&dice->clock_accepted);
161161
wake_up(&dice->hwdep_wait);
162162
}

0 commit comments

Comments
 (0)