Skip to content

Commit 8284750

Browse files
0xB0DAndi Shyti
authored andcommitted
i2c: qcom-cci: Stop complaining about DT set clock rate
It is common practice in the downstream and upstream CCI dt to set CCI clock rates to 19.2 MHz. It appears to be fairly common for initial code to set the CCI clock rate to 37.5 MHz. Applying the widely used CCI clock rates from downstream ought not to cause warning messages in the upstream kernel where our general policy is to usually copy downstream hardware clock rates across the range of Qualcomm drivers. Drop the warning it is pervasive across CAMSS users but doesn't add any information or warrant any changes to the DT to align the DT clock rate to the bootloader clock rate. Signed-off-by: Bryan O'Donoghue <[email protected]> Reviewed-by: Vladimir Zapolskiy <[email protected]> Link: https://lore.kernel.org/linux-arm-msm/[email protected] Signed-off-by: Richard Acayan <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
1 parent 5110445 commit 8284750

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

drivers/i2c/busses/i2c-qcom-cci.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -602,14 +602,6 @@ static int cci_probe(struct platform_device *pdev)
602602
}
603603
}
604604

605-
if (cci_clk_rate != cci->data->cci_clk_rate) {
606-
/* cci clock set by the bootloader or via assigned clock rate
607-
* in DT.
608-
*/
609-
dev_warn(dev, "Found %lu cci clk rate while %lu was expected\n",
610-
cci_clk_rate, cci->data->cci_clk_rate);
611-
}
612-
613605
ret = cci_enable_clocks(cci);
614606
if (ret < 0)
615607
return ret;

0 commit comments

Comments
 (0)