* [PATCH] clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
@ 2022-09-04 14:10 ` Stefan Wahren
0 siblings, 0 replies; 8+ messages in thread
From: Stefan Wahren @ 2022-09-04 14:10 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Florian Fainelli, Ray Jui,
Scott Branden, Maxime Ripard
Cc: linux-clk, linux-rpi-kernel, linux-arm-kernel, linux-kernel,
Stefan Wahren
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>
---
drivers/clk/bcm/clk-bcm2835.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c
index 48a1eb9f2d55..9e9f8b242958 100644
--- a/drivers/clk/bcm/clk-bcm2835.c
+++ b/drivers/clk/bcm/clk-bcm2835.c
@@ -966,9 +966,9 @@ static u32 bcm2835_clock_choose_div(struct clk_hw *hw,
return div;
}
-static long bcm2835_clock_rate_from_divisor(struct bcm2835_clock *clock,
- unsigned long parent_rate,
- u32 div)
+static unsigned long bcm2835_clock_rate_from_divisor(struct bcm2835_clock *clock,
+ unsigned long parent_rate,
+ u32 div)
{
const struct bcm2835_clock_data *data = clock->data;
u64 temp;
--
2.34.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
@ 2022-09-04 14:10 ` Stefan Wahren
0 siblings, 0 replies; 8+ messages in thread
From: Stefan Wahren @ 2022-09-04 14:10 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Florian Fainelli, Ray Jui,
Scott Branden, Maxime Ripard
Cc: linux-clk, linux-rpi-kernel, linux-arm-kernel, linux-kernel,
Stefan Wahren
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>
---
drivers/clk/bcm/clk-bcm2835.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c
index 48a1eb9f2d55..9e9f8b242958 100644
--- a/drivers/clk/bcm/clk-bcm2835.c
+++ b/drivers/clk/bcm/clk-bcm2835.c
@@ -966,9 +966,9 @@ static u32 bcm2835_clock_choose_div(struct clk_hw *hw,
return div;
}
-static long bcm2835_clock_rate_from_divisor(struct bcm2835_clock *clock,
- unsigned long parent_rate,
- u32 div)
+static unsigned long bcm2835_clock_rate_from_divisor(struct bcm2835_clock *clock,
+ unsigned long parent_rate,
+ u32 div)
{
const struct bcm2835_clock_data *data = clock->data;
u64 temp;
--
2.34.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
2022-09-04 14:10 ` Stefan Wahren
@ 2022-09-12 15:33 ` Ivan T. Ivanov
-1 siblings, 0 replies; 8+ messages in thread
From: Ivan T. Ivanov @ 2022-09-12 15:33 UTC (permalink / raw)
To: Stefan Wahren
Cc: Michael Turquette, Stephen Boyd, Florian Fainelli, Ray Jui,
Scott Branden, Maxime Ripard, linux-clk, linux-rpi-kernel,
linux-arm-kernel, linux-kernel
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>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
@ 2022-09-12 15:33 ` Ivan T. Ivanov
0 siblings, 0 replies; 8+ messages in thread
From: Ivan T. Ivanov @ 2022-09-12 15:33 UTC (permalink / raw)
To: Stefan Wahren
Cc: Michael Turquette, Stephen Boyd, Florian Fainelli, Ray Jui,
Scott Branden, Maxime Ripard, linux-clk, linux-rpi-kernel,
linux-arm-kernel, linux-kernel
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>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
2022-09-04 14:10 ` Stefan Wahren
@ 2022-09-12 16:23 ` Florian Fainelli
-1 siblings, 0 replies; 8+ messages in thread
From: Florian Fainelli @ 2022-09-12 16:23 UTC (permalink / raw)
To: Stefan Wahren, Michael Turquette, Stephen Boyd, Ray Jui,
Scott Branden, Maxime Ripard
Cc: linux-clk, linux-rpi-kernel, linux-arm-kernel, linux-kernel
On 9/4/2022 7:10 AM, Stefan Wahren wrote:
> 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: Florian Fainelli <f.fainelli@gmail.com>
--
Florian
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
@ 2022-09-12 16:23 ` Florian Fainelli
0 siblings, 0 replies; 8+ messages in thread
From: Florian Fainelli @ 2022-09-12 16:23 UTC (permalink / raw)
To: Stefan Wahren, Michael Turquette, Stephen Boyd, Ray Jui,
Scott Branden, Maxime Ripard
Cc: linux-clk, linux-rpi-kernel, linux-arm-kernel, linux-kernel
On 9/4/2022 7:10 AM, Stefan Wahren wrote:
> 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: Florian Fainelli <f.fainelli@gmail.com>
--
Florian
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
2022-09-04 14:10 ` Stefan Wahren
@ 2022-09-30 21:31 ` Stephen Boyd
-1 siblings, 0 replies; 8+ messages in thread
From: Stephen Boyd @ 2022-09-30 21:31 UTC (permalink / raw)
To: Florian Fainelli, Maxime Ripard, Michael Turquette, Ray Jui,
Scott Branden, Stefan Wahren
Cc: linux-clk, linux-rpi-kernel, linux-arm-kernel, linux-kernel,
Stefan Wahren
Quoting Stefan Wahren (2022-09-04 07:10:37)
> 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>
> ---
Applied to clk-next
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration
@ 2022-09-30 21:31 ` Stephen Boyd
0 siblings, 0 replies; 8+ messages in thread
From: Stephen Boyd @ 2022-09-30 21:31 UTC (permalink / raw)
To: Florian Fainelli, Maxime Ripard, Michael Turquette, Ray Jui,
Scott Branden, Stefan Wahren
Cc: linux-clk, linux-rpi-kernel, linux-arm-kernel, linux-kernel,
Stefan Wahren
Quoting Stefan Wahren (2022-09-04 07:10:37)
> 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>
> ---
Applied to clk-next
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2022-09-30 21:32 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-04 14:10 [PATCH] clk: bcm2835: fix bcm2835_clock_rate_from_divisor declaration Stefan Wahren
2022-09-04 14:10 ` Stefan Wahren
2022-09-12 15:33 ` Ivan T. Ivanov
2022-09-12 15:33 ` Ivan T. Ivanov
2022-09-12 16:23 ` Florian Fainelli
2022-09-12 16:23 ` Florian Fainelli
2022-09-30 21:31 ` Stephen Boyd
2022-09-30 21:31 ` Stephen Boyd
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.