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

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

Merge "spi: spi-msm-geni: Store the wrapper dev handle for LE VM also"

parents 15f150f0 4f659999
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2002,6 +2002,7 @@ static int spi_geni_probe(struct platform_device *pdev)
		dev_info(&pdev->dev, "LA-VM usecase\n");
	}

	geni_mas->spi_rsc.wrapper_dev = &wrapper_pdev->dev;
	/*
	 * For LE, clocks, gpio and icb voting will be provided by
	 * by LA. The SPI operates in GSI mode only for LE usecase,
@@ -2009,7 +2010,6 @@ static int spi_geni_probe(struct platform_device *pdev)
	 * in SPI LE dt.
	 */
	if (!geni_mas->is_le_vm) {
		geni_mas->spi_rsc.wrapper_dev = &wrapper_pdev->dev;
		ret = geni_se_resources_init(rsc, SPI_CORE2X_VOTE,
					(DEFAULT_SE_CLK * DEFAULT_BUS_WIDTH));
		if (ret) {