Re: [PATCH v3 03/42] clk: ep93xx: add DT support for Cirrus EP93xx
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH v3 03/42] clk: ep93xx: add DT support for Cirrus EP93xx
- From: Andy Shevchenko <andy@xxxxxxxxxx>
- Date: Fri, 21 Jul 2023 16:46:29 +0300
- Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx>, Alexander Sverdlin <alexander.sverdlin@xxxxxxxxx>, Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>, Arnd Bergmann <arnd@xxxxxxxx>, Bartosz Golaszewski <brgl@xxxxxxxx>, Conor Dooley <conor+dt@xxxxxxxxxx>, Damien Le Moal <dlemoal@xxxxxxxxxx>, Daniel Lezcano <daniel.lezcano@xxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>, Eric Dumazet <edumazet@xxxxxxxxxx>, Guenter Roeck <linux@xxxxxxxxxxxx>, Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>, Jakub Kicinski <kuba@xxxxxxxxxx>, Jaroslav Kysela <perex@xxxxxxxx>, Kris Bahnsen <kris@xxxxxxxxxxxxxx>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@xxxxxxxxxx>, Lennert Buytenhek <kernel@xxxxxxxxxxxxxx>, Liam Girdwood <lgirdwood@xxxxxxxxx>, Linus Walleij <linus.walleij@xxxxxxxxxx>, Lukasz Majewski <lukma@xxxxxxx>, Mark Brown <broonie@xxxxxxxxxx>, Michael Peters <mpeters@xxxxxxxxxxxxxx>, Michael Turquette <mturquette@xxxxxxxxxxxx>, Miquel Raynal <miquel.raynal@xxxxxxxxxxx>, Nikita Shubin <nikita.shubin@xxxxxxxxxxx>, Nikita Shubin via B4 Relay <devnull+nikita.shubin.maquefel.me@xxxxxxxxxx>, Olof Johansson <olof@xxxxxxxxx>, Paolo Abeni <pabeni@xxxxxxxxxx>, Richard Weinberger <richard@xxxxxx>, Rob Herring <robh+dt@xxxxxxxxxx>, Russell King <linux@xxxxxxxxxxxxxxx>, Sebastian Reichel <sre@xxxxxxxxxx>, Sergey Shtylyov <s.shtylyov@xxxxxx>, Takashi Iwai <tiwai@xxxxxxxx>, Thierry Reding <thierry.reding@xxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx>, Vignesh Raghavendra <vigneshr@xxxxxx>, Vinod Koul <vkoul@xxxxxxxxxx>, Wim Van Sebroeck <wim@xxxxxxxxxxxxxxxxxx>, soc@xxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, linux-gpio@xxxxxxxxxxxxxxx, devicetree@xxxxxxxxxxxxxxx, linux-clk@xxxxxxxxxxxxxxx, linux-rtc@xxxxxxxxxxxxxxx, linux-watchdog@xxxxxxxxxxxxxxx, linux-pm@xxxxxxxxxxxxxxx, linux-pwm@xxxxxxxxxxxxxxx, linux-spi@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx, dmaengine@xxxxxxxxxxxxxxx, linux-mtd@xxxxxxxxxxxxxxxxxxx, linux-ide@xxxxxxxxxxxxxxx, linux-input@xxxxxxxxxxxxxxx, alsa-devel@xxxxxxxxxxxxxxxx
- In-reply-to: <3fcb760c101c5f7081235290362f5c02.sboyd@kernel.org>
- Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo
- References: <20230605-ep93xx-v3-0-3d63a5f1103e@maquefel.me> <20230605-ep93xx-v3-3-3d63a5f1103e@maquefel.me> <3fcb760c101c5f7081235290362f5c02.sboyd@kernel.org>
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)
...
> > +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: <20230721134235.15517-1-andriy.shevchenko@xxxxxxxxxxxxxxx>
--
With Best Regards,
Andy Shevchenko
[Index of Archives]
[Linux Kernel]
[Linux ARM (vger)]
[Linux ARM MSM]
[Linux Omap]
[Linux Arm]
[Linux Tegra]
[Fedora ARM]
[Linux for Samsung SOC]
[eCos]
[Linux Fastboot]
[Gcc Help]
[Git]
[DCCP]
[IETF Announce]
[Security]
[Linux MIPS]
[Yosemite Campsites]
|