History

Merge tag 'hsi-for-4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi

Pull HSI updates from Sebastian Reichel: "Misc fixes" * tag 'hsi-for-4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-hsi: HSI: nokia-modem: use flags argument of devm_gpiod_get to set direction HSI: nokia-modem: Reduce missing driver message to debug level HSI: cmt_speech: fix timestamp interface

Linus Torvalds committed 11 years ago

Commit 5262f252 parents acd5312 f451e763 files · +22 −14Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/linux/hsi/cs-protocol.h+11−5
@@ -75,6 +75,15 @@ struct cs_buffer_config { · 74 unmodified lines
7575 __u32 reserved[4];
7676 };
7777
78+/*
79+ * struct for monotonic timestamp taken when the
80+ * last control command was received
81+ */
82+struct cs_timestamp {
83+ __u32 tv_sec; /* seconds */
84+ __u32 tv_nsec; /* nanoseconds */
85+};
86+
7887 /*
7988 * Struct describing the layout and contents of the driver mmap area.
8089 * This information is meant as read-only information for the application.
@@ -91,11 +100,8 @@ struct cs_mmap_config_block { · 10 unmodified lines
91100 __u32 rx_ptr;
92101 __u32 rx_ptr_boundary;
93102 __u32 reserved3[2];
94− /*
95− * if enabled with CS_FEAT_TSTAMP_RX_CTRL, monotonic
96− * timestamp taken when the last control command was received
97− */
98− struct timespec tstamp_rx_ctrl;
103+ /* enabled with CS_FEAT_TSTAMP_RX_CTRL */
104+ struct cs_timestamp tstamp_rx_ctrl;
99105 };
100106
101107 #define CS_IO_MAGIC 'C'