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

Commit 48421adf authored by Jarkko Nikula's avatar Jarkko Nikula Committed by Mark Brown
Browse files

spi: pxa2xx: Fix unconditional call of lpss_ssp_setup in pxa2xx_spi_resume



Commit 7566bcc7 ("spi: pxa2xx: Move is_lpss_ssp() tests to caller") did
not check LPSS before calling lpss_ssp_setup() in pxa2xx_spi_resume().

Signed-off-by: default avatarJarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent c039dd27
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1492,6 +1492,7 @@ static int pxa2xx_spi_resume(struct device *dev)
		clk_prepare_enable(ssp->clk);

	/* Restore LPSS private register bits */
	if (is_lpss_ssp(drv_data))
		lpss_ssp_setup(drv_data);

	/* Start the queue running */