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

Commit 25db67e2 authored by Ian Molton's avatar Ian Molton Committed by Ulf Hansson
Browse files

mmc: TMIO: Ensure MFD cell is disabled on probe error path

parent 2dbf1dc3
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -85,8 +85,10 @@ static int tmio_mmc_probe(struct platform_device *pdev)
	}

	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
	if (!res)
		return -EINVAL;
	if (!res) {
		ret = -EINVAL;
		goto cell_disable;
	}

	pdata->flags |= TMIO_MMC_HAVE_HIGH_REG;