From: Timo Wischer Date: Wed, 20 Nov 2019 17:49:49 +0000 (-0600) Subject: ALSA: aloop: Describe units of variables X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=97dda3da20732df8010090dd6d749b9d5b86bffe;p=linux.git ALSA: aloop: Describe units of variables Describe the unit of the variables used to calculate the hw pointer depending on jiffies ticks. Signed-off-by: Timo Wischer Signed-off-by: Andrew Gabbasov Link: https://lore.kernel.org/r/20191120174955.6410-2-andrew_gabbasov@mentor.com Signed-off-by: Takashi Iwai --- diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c index 54f8b17476a12..573b06cf7cf56 100644 --- a/sound/drivers/aloop.c +++ b/sound/drivers/aloop.c @@ -102,8 +102,10 @@ struct loopback_pcm { /* flags */ unsigned int period_update_pending :1; /* timer stuff */ - unsigned int irq_pos; /* fractional IRQ position */ - unsigned int period_size_frac; + unsigned int irq_pos; /* fractional IRQ position in jiffies + * ticks + */ + unsigned int period_size_frac; /* period size in jiffies ticks */ unsigned int last_drift; unsigned long last_jiffies; struct timer_list timer;