[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e8360360029a29296b98586f1d1a440996d89947.camel@baylibre.com>
Date: Fri, 29 Mar 2019 09:39:35 +0100
From: Jerome Brunet <jbrunet@...libre.com>
To: Neil Armstrong <narmstrong@...libre.com>
Cc: linux-amlogic@...ts.infradead.org, linux-clk@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clk: meson: vid-pll-div: remove warning and return 0 on
invalid config
On Wed, 2019-03-27 at 16:13 +0100, Neil Armstrong wrote:
> The vid_pll_div is a programmable fractional divider, but vendor gives a
> limited of known configuration value and it's corresponding fraction.
>
> Thus when at reset value (0) or unknown value, we cannot determine the
> result rate.
>
> The initial behaviour was to print a warning, but the warning triggers
> at each boot and when the clock tree is refreshed.
>
> This patch moves the print to debug and returns 0 instead of the
> parent rate.
>
> Fixes: 72dbb8c94d0d ("clk: meson: Add vid_pll divider driver")
> Signed-off-by: Neil Armstrong <narmstrong@...libre.com>
> ---
> drivers/clk/meson/vid-pll-div.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Jerome Brunet <jbrunet@...libre.com>
Powered by blists - more mailing lists