Thread (91 messages) 91 messages, 15 authors, 2023-11-13

Re: [PATCH v3 03/42] clk: ep93xx: add DT support for Cirrus EP93xx

From: Andy Shevchenko <andy@kernel.org>
Date: 2023-07-21 13:46:55
Also in: alsa-devel, dmaengine, linux-clk, linux-devicetree, linux-gpio, linux-ide, linux-input, linux-pm, linux-pwm, linux-rtc, linux-spi, linux-watchdog, lkml

On Thu, Jul 20, 2023 at 04:27:45PM -0700, Stephen Boyd wrote:
Quoting Nikita Shubin via B4 Relay (2023-07-20 04:29:03)
...
quoted
+static bool is_best(unsigned long rate, unsigned long now,
+                    unsigned long best)
+{
+       return abs(rate - now) < abs(rate - best);
Another case where we need abs_diff() so that it doesn't get confused
when trying to do signed comparison.
Here you are: Message-Id: [off-list ref]

-- 
With Best Regards,
Andy Shevchenko

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help