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

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

Merge "qcom: qpnp-fg-gen4: Continue fg_gen4_probe() when !DEBUG_FS"

parents dd008f12 9a099a4a
Loading
Loading
Loading
Loading
+1 −6
Original line number Original line Diff line number Diff line
@@ -6190,12 +6190,7 @@ static int fg_gen4_probe(struct platform_device *pdev)
	/* Keep MEM_ATTN_IRQ disabled until we require it */
	/* Keep MEM_ATTN_IRQ disabled until we require it */
	vote(chip->mem_attn_irq_en_votable, MEM_ATTN_IRQ_VOTER, false, 0);
	vote(chip->mem_attn_irq_en_votable, MEM_ATTN_IRQ_VOTER, false, 0);


	rc = fg_debugfs_create(fg);
	fg_debugfs_create(fg);
	if (rc < 0) {
		dev_err(fg->dev, "Error in creating debugfs entries, rc:%d\n",
			rc);
		goto exit;
	}


	rc = fg_get_battery_voltage(fg, &volt_uv);
	rc = fg_get_battery_voltage(fg, &volt_uv);
	if (!rc)
	if (!rc)