diff options
author | Anna-Maria Behnsen <anna-maria@linutronix.de> | 2023-12-01 10:26:31 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2023-12-20 16:49:38 +0100 |
commit | 1e490484aa3af42d4eeffabf96d6a02be69d586b (patch) | |
tree | 45834bb79bfdcc9d7f624c2bb997ea67303a826c /drivers/usb/cdns3/cdns3-gadget.c | |
parent | 8a2c9c7e7848d7f63d38b698209148b5bb4ba7f3 (diff) |
timers: Split out forward timer base functionality
Forwarding timer base is done when the next expiry value is calculated and
when a new timer is enqueued. When the next expiry value is calculated the
jiffies value is already available and does not need to be reread a second
time.
Splitting out the forward timer base functionality to make it executable
via both contextes - those where jiffies are already known and those, where
jiffies need to be read.
No functional change.
Signed-off-by: Anna-Maria Behnsen <anna-maria@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Link: https://lore.kernel.org/r/20231201092654.34614-10-anna-maria@linutronix.de
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions