diff options
| author | 2011-02-24 17:34:10 +0100 | |
|---|---|---|
| committer | 2011-02-25 19:45:49 +0100 | |
| commit | 793b7639cfebc23b1e97bdec5946138e4c73bda2 (patch) | |
| tree | 2193ac7743157684a72c1ce88351e8dc89e8f858 /src/raw1394_private.h | |
| parent | do not delay iso packet queueing (diff) | |
fix start_on_cycle on firewire-core
Libraw1394 uses raw1394's convention of cycle numbers always being less
than one second, i.e., in the range 0..7999.
Firewire-core uses raw cycle numbers as used by the hardware, i.e., with
several additional bits for the seconds. This was correctly handled
when presenting timestamps returned by the kernel to the application,
but the application's start_on_cycle value was passed directly to the
kernel.
To fix this, do the same calculations that ohci1394 did internally,
i.e., interpret the start_on_cycle value as relative to the current
seconds value of the cycle timer.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'src/raw1394_private.h')
0 files changed, 0 insertions, 0 deletions
