mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -04:00
Merge "i2c-msm-geni: Bypass ICC vote check for LE when dumping register"
This commit is contained in:
commit
6753ae03b3
1 changed files with 3 additions and 2 deletions
|
|
@ -1231,6 +1231,9 @@ static int geni_i2c_probe(struct platform_device *pdev)
|
|||
dev_info(&pdev->dev, "LE-VM usecase\n");
|
||||
}
|
||||
|
||||
gi2c->i2c_rsc.wrapper_dev = &wrapper_pdev->dev;
|
||||
gi2c->i2c_rsc.ctrl_dev = gi2c->dev;
|
||||
|
||||
/*
|
||||
* For LE, clocks, gpio and icb voting will be provided by
|
||||
* by LA. The I2C operates in GSI mode only for LE usecase,
|
||||
|
|
@ -1238,8 +1241,6 @@ static int geni_i2c_probe(struct platform_device *pdev)
|
|||
* in I2C LE dt.
|
||||
*/
|
||||
if (!gi2c->is_le_vm) {
|
||||
gi2c->i2c_rsc.wrapper_dev = &wrapper_pdev->dev;
|
||||
gi2c->i2c_rsc.ctrl_dev = gi2c->dev;
|
||||
gi2c->i2c_rsc.se_clk = devm_clk_get(&pdev->dev, "se-clk");
|
||||
if (IS_ERR(gi2c->i2c_rsc.se_clk)) {
|
||||
ret = PTR_ERR(gi2c->i2c_rsc.se_clk);
|
||||
|
|
|
|||
Loading…
Reference in a new issue