linux/drivers/clk/davinci
Bastien Curutchet a83b22754e clk: davinci: da8xx-cfgchip: Initialize clk_init_data before use
The flag attribute of the struct clk_init_data isn't initialized before
the devm_clk_hw_register() call. This can lead to unexpected behavior
during registration.

Initialize the entire clk_init_data to zero at declaration.

Cc: stable@vger.kernel.org
Fixes: 58e1e2d2cd ("clk: davinci: cfgchip: Add TI DA8XX USB PHY clocks")
Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
Reviewed-by: David Lechner <david@lechnology.com>
Link: https://lore.kernel.org/r/20240718115534.41513-1-bastien.curutchet@bootlin.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2024-07-18 13:33:01 -07:00
..
da8xx-cfgchip.c clk: davinci: da8xx-cfgchip: Initialize clk_init_data before use 2024-07-18 13:33:01 -07:00
Makefile clk: remove davinci dm3xx drivers 2023-01-12 10:53:12 +01:00
pll-da830.c
pll-da850.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
pll.c clk: Use device_get_match_data() 2023-10-23 20:16:21 -07:00
pll.h ARM: davinci: drop DAVINCI_DMxxx references 2023-01-12 10:53:12 +01:00
psc-da830.c clk: davinci: psc-da830: add a lookup entry for aemif clock 2018-07-06 12:34:54 -05:00
psc-da850.c
psc.c clk: Use device_get_match_data() 2023-10-23 20:16:21 -07:00
psc.h ARM: davinci: drop DAVINCI_DMxxx references 2023-01-12 10:53:12 +01:00