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

Commit c50325f7 authored by Chew, Chiau Ee's avatar Chew, Chiau Ee Committed by Mark Brown
Browse files

spi/pxa2xx: Restore private register bits.



The Intel LPSS SPI private register bits have to be restored
when system resume from S3 suspend.

Signed-off-by: default avatarChew, Chiau Ee <chiau.ee.chew@intel.com>
Acked-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 54acbd96
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1293,6 +1293,9 @@ static int pxa2xx_spi_resume(struct device *dev)
	/* Enable the SSP clock */
	clk_prepare_enable(ssp->clk);

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

	/* Start the queue running */
	status = spi_master_resume(drv_data->master);
	if (status != 0) {