[PATCH] clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
Ivan T. Ivanov
iivanov at suse.de
Mon Sep 12 08:33:27 PDT 2022
On 09-04 16:10, Stefan Wahren wrote:
> Date: Sun, 4 Sep 2022 16:10:37 +0200
> From: Stefan Wahren <stefan.wahren at i2se.com>
> To: Michael Turquette <mturquette at baylibre.com>, Stephen Boyd
> <sboyd at kernel.org>, Florian Fainelli <f.fainelli at gmail.com>, Ray Jui
> <rjui at broadcom.com>, Scott Branden <sbranden at broadcom.com>, Maxime Ripard
> <maxime at cerno.tech>
> Cc: linux-clk at vger.kernel.org, linux-rpi-kernel at lists.infradead.org,
> linux-arm-kernel at lists.infradead.org, linux-kernel at vger.kernel.org, Stefan
> Wahren <stefan.wahren at i2se.com>
> Subject: [PATCH] clk: bcm2835: fix bcm2835_clock_rate_from_divisor
> declaration
> Message-Id: <20220904141037.38816-1-stefan.wahren at i2se.com>
>
> The return value of bcm2835_clock_rate_from_divisor is always unsigned
> and also all caller expect this. So fix the declaration accordingly.
>
> Fixes: 41691b8862e2 ("clk: bcm2835: Add support for programming the audio domain clocks")
> Signed-off-by: Stefan Wahren <stefan.wahren at i2se.com>
Reviewed-by: Ivan T. Ivanov <iivanov at suse.de>
More information about the linux-arm-kernel
mailing list