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

Commit 322454a6 authored by Scott Wood's avatar Scott Wood Committed by Jean Delvare
Browse files

i2c-mpc: Pass correct dev_id to free_irq on error path

parent 002cf631
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -362,7 +362,7 @@ static int fsl_i2c_probe(struct platform_device *pdev)

      fail_add:
	if (i2c->irq != 0)
		free_irq(i2c->irq, NULL);
		free_irq(i2c->irq, i2c);
      fail_irq:
	iounmap(i2c->base);
      fail_map: