diff options
| author | Bastien Curutchet <[email protected]> | 2024-07-18 11:55:34 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2024-07-18 20:33:01 +0000 |
| commit | a83b22754e351f13fb46596c85f667dc33da71ec (patch) | |
| tree | 08639eed3fd0d4ef0c4896357aff492448441269 /rust/helpers.c | |
| parent | Merge branches 'clk-qcom', 'clk-rockchip', 'clk-sophgo' and 'clk-thead' into ... (diff) | |
| download | kernel-a83b22754e351f13fb46596c85f667dc33da71ec.tar.gz kernel-a83b22754e351f13fb46596c85f667dc33da71ec.zip | |
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: [email protected]
Fixes: 58e1e2d2cd89 ("clk: davinci: cfgchip: Add TI DA8XX USB PHY clocks")
Signed-off-by: Bastien Curutchet <[email protected]>
Reviewed-by: David Lechner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
