diff options
| author | Takashi Sakamoto <[email protected]> | 2019-07-07 12:07:54 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2019-07-08 12:50:37 +0000 |
| commit | 7fbf909668d69d7ab4428f6f55cb53fe4451b9b1 (patch) | |
| tree | e5e9ec91cc41cc29aee6199bae32f81a2041107b /drivers/pci/controller/pci-host-common.c | |
| parent | ALSA: firewire-lib: fix invalid length of rx packet payload for tracepoint ev... (diff) | |
| download | kernel-7fbf909668d69d7ab4428f6f55cb53fe4451b9b1.tar.gz kernel-7fbf909668d69d7ab4428f6f55cb53fe4451b9b1.zip | |
ALSA: firewire-lib/fireface: fix initial value of data block counter for IR context with CIP_NO_HEADER
For IR context, ALSA IEC 61883-1/6 engine uses initial value of data
block counter as UINT_MAX, to detect first isochronous packet in the
middle of packet streaming.
At present, when CIP_NO_HEADER is used (i.e. for ALSA fireface driver),
the initial value is used for tracepoints event. 0x00 should be
for the event when the initial value is UINT_MAX because isochronous
packets with CIP_NO_HEADER option has no field for data block count.
This commit fixes the bug.
Fixes: 76864868dbab ("ALSA: firewire-lib: cache next data_block_counter after probing tracepoints event for IR context")
Signed-off-by: Takashi Sakamoto <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions
