tangled
alpha
login
or
join now
tjh.dev
/
kernel
1
fork
atom
Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1
fork
atom
overview
issues
pulls
pipelines
Merge branch 'fix/firewire' into for-linus
Takashi Iwai
12 years ago
049da9e8
873ce8ad
+6
-9
1 changed file
expand all
collapse all
unified
split
sound
firewire
amdtp.c
+6
-9
sound/firewire/amdtp.c
reviewed
···
434
434
return;
435
435
index = s->packet_index;
436
436
437
437
+
/* this module generate empty packet for 'no data' */
437
438
syt = calculate_syt(s, cycle);
438
438
-
if (!(s->flags & CIP_BLOCKING)) {
439
439
+
if (!(s->flags & CIP_BLOCKING))
439
440
data_blocks = calculate_data_blocks(s);
440
440
-
} else {
441
441
-
if (syt != 0xffff) {
442
442
-
data_blocks = s->syt_interval;
443
443
-
} else {
444
444
-
data_blocks = 0;
445
445
-
syt = 0xffffff;
446
446
-
}
447
447
-
}
441
441
+
else if (syt != 0xffff)
442
442
+
data_blocks = s->syt_interval;
443
443
+
else
444
444
+
data_blocks = 0;
448
445
449
446
buffer = s->buffer.packets[index].buffer;
450
447
buffer[0] = cpu_to_be32(ACCESS_ONCE(s->source_node_id_field) |