Skip to content

Commit

Permalink
spi: pxa2xx_spi clock resume bugfix
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ebenard authored and torvalds committed May 13, 2008
1 parent fe2cc53 commit 0cf942d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/pxa2xx_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0cf942d

Please sign in to comment.