spi: pxa2xx_spi clock resume bugfix

There is a typo in pxa2xx_spi.c, comment says "Enable the SSP clock", code
says: clk_disable ...  so after resume, the SSP is dead.

Signed-off-by: David Brownell <[email protected]>
Cc: Ned Forrester <[email protected]>
Cc: Stephen Street <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Eric BENARD 2008-05-12 14:02:01 -07:00 • committed by Linus Torvalds
commit 0cf942d75a

View file

@ -1567,7 +1567,7 @@ static int pxa2xx_spi_resume(struct platform_device *pdev)
int status = 0;
/* Enable the SSP clock */
clk_disable(ssp->clk);
clk_enable(ssp->clk);
/* Start the queue running */
status = start_queue(drv_data);