summaryrefslogtreecommitdiffstats
path: root/kernel/sound/firewire/amdtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sound/firewire/amdtp.c')
-rw-r--r--kernel/sound/firewire/amdtp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/sound/firewire/amdtp.c b/kernel/sound/firewire/amdtp.c
index e061355f5..bf20593d3 100644
--- a/kernel/sound/firewire/amdtp.c
+++ b/kernel/sound/firewire/amdtp.c
@@ -730,8 +730,9 @@ static void handle_in_packet(struct amdtp_stream *s,
s->data_block_counter != UINT_MAX)
data_block_counter = s->data_block_counter;
- if (((s->flags & CIP_SKIP_DBC_ZERO_CHECK) && data_block_counter == 0) ||
- (s->data_block_counter == UINT_MAX)) {
+ if (((s->flags & CIP_SKIP_DBC_ZERO_CHECK) &&
+ data_block_counter == s->tx_first_dbc) ||
+ s->data_block_counter == UINT_MAX) {
lost = false;
} else if (!(s->flags & CIP_DBC_IS_END_EVENT)) {
lost = data_block_counter != s->data_block_counter;