lkml.org 
[lkml]   [2022]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
On 09-04 16:10, Stefan Wahren wrote:
> Date: Sun, 4 Sep 2022 16:10:37 +0200
> From: Stefan Wahren <stefan.wahren@i2se.com>
> To: Michael Turquette <mturquette@baylibre.com>, Stephen Boyd
> <sboyd@kernel.org>, Florian Fainelli <f.fainelli@gmail.com>, Ray Jui
> <rjui@broadcom.com>, Scott Branden <sbranden@broadcom.com>, Maxime Ripard
> <maxime@cerno.tech>
> Cc: linux-clk@vger.kernel.org, linux-rpi-kernel@lists.infradead.org,
> linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan
> Wahren <stefan.wahren@i2se.com>
> Subject: [PATCH] clk: bcm2835: fix bcm2835_clock_rate_from_divisor
> declaration
> Message-Id: <20220904141037.38816-1-stefan.wahren@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@i2se.com>

Reviewed-by: Ivan T. Ivanov <iivanov@suse.de>

\
 
 \ /
  Last update: 2022-09-12 17:34    [W:0.047 / U:2.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site