Skip to content

Commit

Permalink
spi/pxa2xx: Restore private register bits.
Browse files Browse the repository at this point in the history
The Intel LPSS SPI private register bits have to be restored
when system resume from S3 suspend.

Signed-off-by: Chew, Chiau Ee <chiau.ee.chew@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
  • Loading branch information
Chew, Chiau Ee authored and Mark Brown committed Nov 28, 2013
1 parent 54acbd9 commit c50325f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/spi/spi-pxa2xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c50325f

Please sign in to comment.