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: ipq8074: populate fw_name for usb3phy-s

Having only .name populated in parent_data for clocks which are only
globally searchable currently will not work as the clk core won't copy
that name if there is no .fw_name present as well.

So, populate .fw_name for usb3phy clocks in parent_data as they were
missed by me in ("clk: qcom: ipq8074: populate fw_name for all parents").

Fixes: ae55ad32e273 ("clk: qcom: ipq8074: convert to parent data")
Signed-off-by: Robert Marko <robimarko@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230108130440.670181-1-robimarko@gmail.com

authored by

Robert Marko and committed by
Bjorn Andersson
5f082ac7 109366b1

+2 -2
+2 -2
drivers/clk/qcom/gcc-ipq8074.c
··· 934 934 }; 935 935 936 936 static const struct clk_parent_data gcc_usb3phy_0_cc_pipe_clk_xo[] = { 937 - { .name = "usb3phy_0_cc_pipe_clk" }, 937 + { .fw_name = "usb3phy_0_cc_pipe_clk", .name = "usb3phy_0_cc_pipe_clk" }, 938 938 { .fw_name = "xo", .name = "xo" }, 939 939 }; 940 940 ··· 1002 1002 }; 1003 1003 1004 1004 static const struct clk_parent_data gcc_usb3phy_1_cc_pipe_clk_xo[] = { 1005 - { .name = "usb3phy_1_cc_pipe_clk" }, 1005 + { .fw_name = "usb3phy_1_cc_pipe_clk", .name = "usb3phy_1_cc_pipe_clk" }, 1006 1006 { .fw_name = "xo", .name = "xo" }, 1007 1007 }; 1008 1008