Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ALSA: mixart: adjust field name reference

buf_period_pos seems to not have existed in the git history, but the
buf_period_frag field is used with the buf_periods field in the
function snd_mixart_stream_pointer in mixart.c, so it seems that
buf_periods is what was intended.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Link: https://patch.msgid.link/20251230132235.90687-1-Julia.Lawall@inria.fr
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Julia Lawall and committed by
Takashi Iwai
537cd8fd f8c537ff

+1 -1
+1 -1
sound/pci/mixart/mixart.h
··· 125 125 126 126 u64 abs_period_elapsed; /* last absolute stream position where period_elapsed was called (multiple of runtime->period_size) */ 127 127 u32 buf_periods; /* periods counter in the buffer (< runtime->periods) */ 128 - u32 buf_period_frag; /* defines with buf_period_pos the exact position in the buffer (< runtime->period_size) */ 128 + u32 buf_period_frag; /* defines with buf_periods the exact position in the buffer (< runtime->period_size) */ 129 129 130 130 int channels; 131 131 };