Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6753ae03 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "i2c-msm-geni: Bypass ICC vote check for LE when dumping register"

parents 12af436c 3413c8ef
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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);