diff options
author | Pattara Teerapong <[email protected]> | 2022-09-01 14:40:36 +0000 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2022-09-02 08:58:20 +0200 |
commit | 3e48940abee88b8dbbeeaf8a07e7b2b6be1271b3 (patch) | |
tree | aeb2ae363b3317d99aff66f82c015b6a80d82b2c /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | ff878b408a03bef5d610b7e2302702e16a53636e (diff) |
ALSA: aloop: Fix random zeros in capture data when using jiffies timer
In loopback_jiffies_timer_pos_update(), we are getting jiffies twice.
First time for playback, second time for capture. Jiffies can be updated
between these two calls and if the capture jiffies is larger, extra zeros
will be filled in the capture buffer.
Change to get jiffies once and use it for both playback and capture.
Signed-off-by: Pattara Teerapong <[email protected]>
Cc: <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions