1 From 614d31c231c7707322b643f409eeb7e28adc7f8c Mon Sep 17 00:00:00 2001
2 From: Robert Marko <robimarko@gmail.com>
3 Date: Sun, 8 Jan 2023 13:36:28 +0100
4 Subject: [PATCH] clk: qcom: ipq8074: populate fw_name for usb3phy-s
6 Having only .name populated in parent_data for clocks which are only
7 globally searchable currently will not work as the clk core won't copy
8 that name if there is no .fw_name present as well.
10 So, populate .fw_name for usb3phy clocks in parent_data as they were
11 missed by me in ("clk: qcom: ipq8074: populate fw_name for all parents").
13 Fixes: ae55ad32e273 ("clk: qcom: ipq8074: convert to parent data")
14 Signed-off-by: Robert Marko <robimarko@gmail.com>
16 drivers/clk/qcom/gcc-ipq8074.c | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-)
19 --- a/drivers/clk/qcom/gcc-ipq8074.c
20 +++ b/drivers/clk/qcom/gcc-ipq8074.c
21 @@ -928,7 +928,7 @@ static struct clk_rcg2 usb0_mock_utmi_cl
24 static const struct clk_parent_data gcc_usb3phy_0_cc_pipe_clk_xo[] = {
25 - { .name = "usb3phy_0_cc_pipe_clk" },
26 + { .fw_name = "usb3phy_0_cc_pipe_clk", .name = "usb3phy_0_cc_pipe_clk" },
27 { .fw_name = "xo", .name = "xo" },
30 @@ -996,7 +996,7 @@ static struct clk_rcg2 usb1_mock_utmi_cl
33 static const struct clk_parent_data gcc_usb3phy_1_cc_pipe_clk_xo[] = {
34 - { .name = "usb3phy_1_cc_pipe_clk" },
35 + { .fw_name = "usb3phy_1_cc_pipe_clk", .name = "usb3phy_1_cc_pipe_clk" },
36 { .fw_name = "xo", .name = "xo" },