clk: qcom: ipq8074: populate fw_name for usb3phy-s
authorRobert Marko <robimarko@gmail.com>
Sun, 8 Jan 2023 13:04:39 +0000 (14:04 +0100)
committerBjorn Andersson <andersson@kernel.org>
Thu, 19 Jan 2023 00:08:09 +0000 (18:08 -0600)
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
drivers/clk/qcom/gcc-ipq8074.c

index 14cc4ad02221e5a6a32d95ab3876b9fa2a69a6f7..6541d98c034839dbc074c1bd04c2399c5086fd07 100644 (file)
@@ -934,7 +934,7 @@ static struct clk_rcg2 usb0_mock_utmi_clk_src = {
 };
 
 static const struct clk_parent_data gcc_usb3phy_0_cc_pipe_clk_xo[] = {
-       { .name = "usb3phy_0_cc_pipe_clk" },
+       { .fw_name = "usb3phy_0_cc_pipe_clk", .name = "usb3phy_0_cc_pipe_clk" },
        { .fw_name = "xo", .name = "xo" },
 };
 
@@ -1002,7 +1002,7 @@ static struct clk_rcg2 usb1_mock_utmi_clk_src = {
 };
 
 static const struct clk_parent_data gcc_usb3phy_1_cc_pipe_clk_xo[] = {
-       { .name = "usb3phy_1_cc_pipe_clk" },
+       { .fw_name = "usb3phy_1_cc_pipe_clk", .name = "usb3phy_1_cc_pipe_clk" },
        { .fw_name = "xo", .name = "xo" },
 };