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 /sound/drivers/aloop.c | |
parent | e42617b825f8073569da76dc4510bfa019b1c35a (diff) | |
download | linux-fcae40c99fb3d09f4407f549a7f17761abe5e1bc.tar.gz linux-fcae40c99fb3d09f4407f549a7f17761abe5e1bc.tar.bz2 linux-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 'sound/drivers/aloop.c')
-rw-r--r-- | sound/drivers/aloop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c index 6bb46423f5ae..bc83b1731541 100644 --- a/sound/drivers/aloop.c +++ b/sound/drivers/aloop.c @@ -804,7 +804,7 @@ static void loopback_snd_timer_tasklet(unsigned long arg) static void loopback_snd_timer_event(struct snd_timer_instance *timeri, int event, - struct timespec *tstamp, + struct timespec64 *tstamp, unsigned long resolution) { /* Do not lock cable->lock here because timer->lock is already hold. |