Re: (subset) [PATCH treewide 0/5] clk: Make sure clk_init_data is fully initialized (part 1)
Mark Brown <[email protected]>
| Newsgroups | org.kernel.vger.linux-omap,org.infradead.lists.linux-amlogic,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-clk,org.kernel.vger.linux-hwmon,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel,org.kernel.vger.linux-spi |
|---|---|
| Message-ID | <178722791204.89147.8075686338925258822.b4-ty@b4> |
On Wed, 19 Aug 2026 21:05:14 +0200, Geert Uytterhoeven wrote:
> clk: Make sure clk_init_data is fully initialized (part 1)
>
> Hi all,
>
> The clk_init_data structure contains three mutually-exclusive members
> for different methods to specify the possible parents of a clock,
> prompting drivers to initialize only the members they need. When commit
> fc0c209c147f35ed ("clk: Allow parents to be specified without string
> names") added the last two methods, this was done in a
> backwards-compatible way, using a priority-based scheme:
> - .name, .ops, .num_parents, and .flags must always be initialized,
> - if .num_parents is non-zero, .parent_names must be initialized,
> - if .parent_names is NULL, .parent_data must be initialized,
> - if .parent_data is NULL, .parent_hws must be initialized
> and valid.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-7.3
Thanks!
[5/5] spi: amlogic-spisg: Make sure clk_init_data is fully initialized
https://git.kernel.org/broonie/spi/c/b2702908ee23
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark