diff --git a/[refs] b/[refs] index 5b9fedb95b35..db738381806a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 03c29680d49662859d14d64f8673550fa3fb2ed1 +refs/heads/master: 898732d1f1c7181fd3e94e7d7a784edb48d09d95 diff --git a/trunk/sound/firewire/isight.c b/trunk/sound/firewire/isight.c index 0230605c917e..4e334919a70f 100644 --- a/trunk/sound/firewire/isight.c +++ b/trunk/sound/firewire/isight.c @@ -198,9 +198,6 @@ static void isight_packet(struct fw_iso_context *context, u32 cycle, } } - if (++index >= QUEUE_LENGTH) - index = 0; - err = fw_iso_context_queue(isight->context, &audio_packet, &isight->buffer.iso_buffer, isight->buffer.packets[index].offset); @@ -211,6 +208,8 @@ static void isight_packet(struct fw_iso_context *context, u32 cycle, return; } + if (++index >= QUEUE_LENGTH) + index = 0; isight->packet_index = index; }