[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191120174955.6410-2-andrew_gabbasov@mentor.com>
Date: Wed, 20 Nov 2019 11:49:49 -0600
From: Andrew Gabbasov <andrew_gabbasov@...tor.com>
To: <alsa-devel@...a-project.org>, <linux-kernel@...r.kernel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Timo Wischer <twischer@...adit-jv.com>,
Andrew Gabbasov <andrew_gabbasov@...tor.com>
Subject: [PATCH v5 1/7] ALSA: aloop: Describe units of variables
From: Timo Wischer <twischer@...adit-jv.com>
Describe the unit of the variables used to calculate the hw pointer
depending on jiffies ticks.
Signed-off-by: Timo Wischer <twischer@...adit-jv.com>
Signed-off-by: Andrew Gabbasov <andrew_gabbasov@...tor.com>
---
sound/drivers/aloop.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c
index 54f8b17476a1..573b06cf7cf5 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;
--
2.21.0
Powered by blists - more mailing lists