Message ID | 20230303092859.22094-3-quic_tdas@quicinc.com |
---|---|
State | New |
Headers | show |
Series | [1/2] clk: qcom: common: Handle invalid index error | expand |
diff --git a/drivers/clk/qcom/lpassaudiocc-sc7280.c b/drivers/clk/qcom/lpassaudiocc-sc7280.c index 1339f9211a14..0567007da8bd 100644 --- a/drivers/clk/qcom/lpassaudiocc-sc7280.c +++ b/drivers/clk/qcom/lpassaudiocc-sc7280.c @@ -702,6 +702,7 @@ static const struct qcom_cc_desc lpass_audio_cc_sc7280_desc = { .config = &lpass_audio_cc_sc7280_regmap_config, .clks = lpass_audio_cc_sc7280_clocks, .num_clks = ARRAY_SIZE(lpass_audio_cc_sc7280_clocks), + .start_index = LPASS_AUDIO_CC_CDIV_RX_MCLK_DIV_CLK_SRC; }; static const struct qcom_reset_map lpass_audio_cc_sc7280_resets[] = {
Initialize start_index for lpass_audio_cc_sc7280_desc to fix invalid index error. Signed-off-by: Taniya Das <quic_tdas@quicinc.com> --- drivers/clk/qcom/lpassaudiocc-sc7280.c | 1 + 1 file changed, 1 insertion(+)