diff options
author | Baolin Wang <baolin.wang@linaro.org> | 2018-04-24 20:06:08 +0800 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2019-12-11 22:06:14 +0100 |
commit | fcae40c99fb3d09f4407f549a7f17761abe5e1bc (patch) | |
tree | d9a375b5bdc555ab61c1996465ddbcb62f7655b9 /include/sound/soc-component.h | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) | |
download | lwn-fcae40c99fb3d09f4407f549a7f17761abe5e1bc.tar.gz lwn-fcae40c99fb3d09f4407f549a7f17761abe5e1bc.zip |
ALSA: Replace timespec with timespec64
Since timespec is not year 2038 safe on 32bit system, and we need to
convert all timespec variables to timespec64 type for sound subsystem.
This patch is used to do preparation for following patches, that will
convert all structures defined in uapi/sound/asound.h to use 64-bit
time_t.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/sound/soc-component.h')
-rw-r--r-- | include/sound/soc-component.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sound/soc-component.h b/include/sound/soc-component.h index 506f72a6b2c2..154d02fbbfed 100644 --- a/include/sound/soc-component.h +++ b/include/sound/soc-component.h @@ -93,8 +93,8 @@ struct snd_soc_component_driver { snd_pcm_uframes_t (*pointer)(struct snd_soc_component *component, struct snd_pcm_substream *substream); int (*get_time_info)(struct snd_soc_component *component, - struct snd_pcm_substream *substream, struct timespec *system_ts, - struct timespec *audio_ts, + struct snd_pcm_substream *substream, struct timespec64 *system_ts, + struct timespec64 *audio_ts, struct snd_pcm_audio_tstamp_config *audio_tstamp_config, struct snd_pcm_audio_tstamp_report *audio_tstamp_report); int (*copy_user)(struct snd_soc_component *component, |