mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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:
parent
fe2cc53ee0
commit
0cf942d75a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue