diff options
| author | Julia Lawall <Julia.Lawall@inria.fr> | 2025-12-30 16:22:35 +0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2025-12-31 19:13:42 +0300 |
| commit | 537cd8fd3c58525ab407a3e80e170bc86a3e96ca (patch) | |
| tree | e462e145aef21d11f24542f42f568cf2c485a016 | |
| parent | f8c537ff0492eb27c160592702a96ea7cb19b493 (diff) | |
| download | linux-537cd8fd3c58525ab407a3e80e170bc86a3e96ca.tar.xz | |
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>
| -rw-r--r-- | sound/pci/mixart/mixart.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; |
