diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2022-07-14 13:07:22 +0900 |
---|---|---|
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2022-07-14 14:33:28 +0900 |
commit | ceced8ca8dd26f74c2a45af14f1f064748b3e574 (patch) | |
tree | d01088da23ad4a9f097e40d23d4ff8104f477a6f | |
parent | e05ec6ee3f12a2f392e8cb787b79d40aba8372f3 (diff) | |
download | libhinoko-ceced8ca8dd26f74c2a45af14f1f064748b3e574.tar.gz |
fw_iso_ctx: fix numeric expression of CLOCK_MONOTONIC_RAW
It's 4 instead of 2 in Linux system.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
-rw-r--r-- | src/fw_iso_ctx.c | 2 | ||||
-rw-r--r-- | src/fw_iso_ctx.h | 2 | ||||
-rw-r--r-- | src/fw_iso_ctx_private.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/fw_iso_ctx.c b/src/fw_iso_ctx.c index 4e898b9..5a4fb08 100644 --- a/src/fw_iso_ctx.c +++ b/src/fw_iso_ctx.c @@ -113,7 +113,7 @@ static void hinoko_fw_iso_ctx_default_init(HinokoFwIsoCtxInterface *iface) * hinoko_fw_iso_ctx_get_cycle_timer: * @self: A [iface@FwIsoCtx]. * @clock_id: The numeric ID of clock source for the reference timestamp. One CLOCK_REALTIME(0), - * CLOCK_MONOTONIC(1), and CLOCK_MONOTONIC_RAW(2) is available in UAPI of Linux kernel. + * CLOCK_MONOTONIC(1), and CLOCK_MONOTONIC_RAW(4) is available in UAPI of Linux kernel. * @cycle_timer: (inout): A [struct@CycleTimer] to store data of cycle timer. * @error: A [struct@GLib.Error]. * diff --git a/src/fw_iso_ctx.h b/src/fw_iso_ctx.h index b3b3fc8..b5ade07 100644 --- a/src/fw_iso_ctx.h +++ b/src/fw_iso_ctx.h @@ -52,7 +52,7 @@ struct _HinokoFwIsoCtxInterface { * HinokoFwIsoCtxInterface::get_cycle_timer: * @self: A [iface@FwIsoCtx]. * @clock_id: The numeric ID of clock source for the reference timestamp. One CLOCK_REALTIME(0), - * CLOCK_MONOTONIC(1), and CLOCK_MONOTONIC_RAW(2) is available in UAPI of Linux kernel. + * CLOCK_MONOTONIC(1), and CLOCK_MONOTONIC_RAW(4) is available in UAPI of Linux kernel. * @cycle_timer: (inout): A [struct@CycleTimer] to store data of cycle timer. * @error: A [struct@GLib.Error]. * diff --git a/src/fw_iso_ctx_private.c b/src/fw_iso_ctx_private.c index ce51f6d..2cc34b5 100644 --- a/src/fw_iso_ctx_private.c +++ b/src/fw_iso_ctx_private.c @@ -605,7 +605,7 @@ gboolean fw_iso_ctx_state_flush_completions(struct fw_iso_ctx_state *state, GErr * fw_iso_ctx_state_get_cycle_timer: * @state: A [struct@FwIsoCtxState]. * @clock_id: The numeric ID of clock source for the reference timestamp. One CLOCK_REALTIME(0), - * CLOCK_MONOTONIC(1), and CLOCK_MONOTONIC_RAW(2) is available in UAPI of Linux kernel. + * CLOCK_MONOTONIC(1), and CLOCK_MONOTONIC_RAW(4) is available in UAPI of Linux kernel. * @cycle_timer: (inout): A [struct@CycleTimer] to store data of cycle timer. * @error: A [struct@GLib.Error]. * |