Loading drivers/i2c/busses/i2c-msm-geni.c +3 −2 Original line number Diff line number Diff line Loading @@ -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, Loading @@ -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 Loading
drivers/i2c/busses/i2c-msm-geni.c +3 −2 Original line number Diff line number Diff line Loading @@ -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, Loading @@ -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