Skip to contentSkip to conversation

spi/pxa2xx: Restore private register bits.

PATCH In review Chew Chiau Ee 2 participants 2 messages Nov 28, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spi/pxa2xx: Restore private register bits.

From: Chew, Chiau Ee <[email protected]>

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

---
 drivers/spi/spi-pxa2xx.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
drivers/spi/spi-pxa2xx.c +3 -0
index 7028180..7765b19 100644
@@ -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) {
Signature · 1 line
1.7.4.4
maintainer
#1 lore raw
Quoted 4 lines · Chew Chiau Ee

From: Chew, Chiau Ee <[email protected]>

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

Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20131128/30551490/attachment-0001.sig>