* [PATCH] ALSA: mixart: adjust field name reference
@ 2025-12-30 13:22 Julia Lawall
2025-12-31 15:45 ` Takashi Iwai
0 siblings, 1 reply; 2+ messages in thread
From: Julia Lawall @ 2025-12-30 13:22 UTC (permalink / raw)
To: Jaroslav Kysela
Cc: yunbolyu, kexinsun, ratnadiraw, xutong.ma, Takashi Iwai,
linux-sound, linux-kernel
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>
---
sound/pci/mixart/mixart.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/mixart/mixart.h b/sound/pci/mixart/mixart.h
index cbed6d9a9f2e..3fcc5ca757c1 100644
--- a/sound/pci/mixart/mixart.h
+++ b/sound/pci/mixart/mixart.h
@@ -125,7 +125,7 @@ struct mixart_stream {
u64 abs_period_elapsed; /* last absolute stream position where period_elapsed was called (multiple of runtime->period_size) */
u32 buf_periods; /* periods counter in the buffer (< runtime->periods) */
- u32 buf_period_frag; /* defines with buf_period_pos the exact position in the buffer (< runtime->period_size) */
+ u32 buf_period_frag; /* defines with buf_periods the exact position in the buffer (< runtime->period_size) */
int channels;
};
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] ALSA: mixart: adjust field name reference
2025-12-30 13:22 [PATCH] ALSA: mixart: adjust field name reference Julia Lawall
@ 2025-12-31 15:45 ` Takashi Iwai
0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2025-12-31 15:45 UTC (permalink / raw)
To: Julia Lawall
Cc: Jaroslav Kysela, yunbolyu, kexinsun, ratnadiraw, xutong.ma,
Takashi Iwai, linux-sound, linux-kernel
On Tue, 30 Dec 2025 14:22:35 +0100,
Julia Lawall wrote:
>
> 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>
Thanks, applied now to for-next branch.
Takashi
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-12-31 15:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-30 13:22 [PATCH] ALSA: mixart: adjust field name reference Julia Lawall
2025-12-31 15:45 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox