Thread (4 messages) 4 messages, 3 authors, 2018-12-18

Re: [PATCH] clk: at91: optimize clk_round_rate() for AUDIO_PLL

From: Uwe Kleine-König <hidden>
Date: 2018-12-18 11:18:21
Also in: linux-clk

Hello,

On Mon, Dec 17, 2018 at 03:22:50PM -0800, Stephen Boyd wrote:
Quoting Michał Mirosław (2018-12-17 11:37:05)
quoted
This makes for 3 clk_round_rate() calls instead of 64 of them on
SAMA5D2-based board when searching for 12.288MHz clock.
Ok, but is that better? Worse? Can you more clearly describe what you're
doing here? And it's not breaking some other corner case?
I think there isn't even a policy how clk_round_rate() actually behaves,
is there? If you could rely on it to (say) always round down cases like
these could maybe be handled easier? (But I didn't really look at the
patch, so this might not be one of these cases.)

Best regards
Uwe

-- 
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |

_______________________________________________
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