Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clk: qcom: gcc-ipq806x: use parent_data for the last remaining entry

Use parent_data for the last remaining entry (pll4). This clock is
provided by the lcc device.

Fixes: cb02866f9a74 ("clk: qcom: gcc-ipq806x: convert parent_names to parent_data")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220927113826.246241-3-dmitry.baryshkov@linaro.org

authored by

Dmitry Baryshkov and committed by
Bjorn Andersson
55307e52 e3c44712

+3 -1
+3 -1
drivers/clk/qcom/gcc-ipq806x.c
··· 79 79 .enable_mask = BIT(4), 80 80 .hw.init = &(struct clk_init_data){ 81 81 .name = "pll4_vote", 82 - .parent_names = (const char *[]){ "pll4" }, 82 + .parent_data = &(const struct clk_parent_data){ 83 + .fw_name = "pll4", .name = "pll4", 84 + }, 83 85 .num_parents = 1, 84 86 .ops = &clk_pll_vote_ops, 85 87 },