Thread (3 messages) 3 messages, 2 authors, 2019-03-29

Re: [PATCH] clk: meson: vid-pll-div: remove warning and return 0 on invalid config

From: Neil Armstrong <hidden>
Date: 2019-03-29 08:40:25
Also in: linux-amlogic, linux-clk, lkml

On 29/03/2019 09:39, Jerome Brunet wrote:
On Wed, 2019-03-27 at 16:13 +0100, Neil Armstrong wrote:
quoted
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 <redacted>
---
 drivers/clk/meson/vid-pll-div.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Thanks,

Applied to fixes/drivers

Neil

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help