[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0765e37c-be81-33dc-b4a0-8a5786417eb6@i2se.com>
Date: Fri, 5 Aug 2022 10:32:51 +0200
From: Stefan Wahren <stefan.wahren@...e.com>
To: Florian Fainelli <f.fainelli@...il.com>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>
Cc: bcm-kernel-feedback-list@...adcom.com,
Maxime Ripard <maxime@...no.tech>, linux-clk@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clk: bcm: rpi: Fix error handling of
raspberrypi_fw_get_rate
Am 27.06.22 um 18:24 schrieb Florian Fainelli:
> On 6/25/22 01:36, Stefan Wahren wrote:
>> The function raspberrypi_fw_get_rate (e.g. used for the recalc_rate
>> hook) can fail to get the clock rate from the firmware. In this case
>> we cannot return a signed error value, which would be casted to
>> unsigned long. Fix this by returning 0 instead.
>>
>> Signed-off-by: Stefan Wahren <stefan.wahren@...e.com>
>
> Fixes: 4e85e535e6cc ("clk: bcm283x: add driver interfacing with
> Raspberry Pi's firmware")
>
> Acked-by: Florian Fainelli <f.fainelli@...il.com>
gentle ping
Powered by blists - more mailing lists