projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54acbd9
)
spi/pxa2xx: Restore private register bits.
author
Chew, Chiau Ee
<
[email protected]
>
Thu, 28 Nov 2013 18:13:11 +0000
(
02:13
+0800)
committer
Mark Brown
<
[email protected]
>
Thu, 28 Nov 2013 11:23:37 +0000
(11:23 +0000)
The Intel LPSS SPI private register bits have to be restored
when system resume from S3 suspend.
Signed-off-by: Chew, Chiau Ee <
[email protected]
>
Acked-by: Mika Westerberg <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
drivers/spi/spi-pxa2xx.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-pxa2xx.c
b/drivers/spi/spi-pxa2xx.c
index 7028180a020a4723a7a46f32bd1ed78acf667ede..7765b1999537a08e5c6d95eed39bdea4c8c9c9dd 100644
(file)
--- a/
drivers/spi/spi-pxa2xx.c
+++ b/
drivers/spi/spi-pxa2xx.c
@@
-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) {