Re: [PATCH v3 1/4] clk: microchip: core: remove duplicate determine_rate on pic32_sclk_ops

From: Claudiu Beznea

Date: Sat Dec 06 2025 - 09:30:30 EST




On 12/5/25 21:46, Brian Masney wrote:
> pic32_sclk_ops previously had a sclk_round_rate() member, and this was
> recently converted over to sclk_determine_rate() with the help of a
> Coccinelle semantic patch. pic32_sclk_ops now has two conflicting
> determine_rate ops members.
>
> Prior to the conversion, pic32_sclk_ops already had a determine_rate
> member that points to __clk_mux_determine_rate(). When both the
> round_rate() and determine_rate() ops are defined, the clk core only
> uses the determine_rate() op. Let's go ahead and drop the recently
> converted sclk_determine_rate() to match the previous functionality
> prior to the conversion.
>
> Fixes: e9f039c08cdc ("clk: microchip: core: convert from round_rate() to determine_rate()")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202511222115.uvHrP95A-lkp@xxxxxxxxx/
> Signed-off-by: Brian Masney <bmasney@xxxxxxxxxx>
Reviewed-by: Claudiu Beznea <claudiu.beznea@xxxxxxxxx>