Commit 0cf942d7 authored by Eric BENARD's avatar Eric BENARD Committed by Linus Torvalds

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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Cc: Ned Forrester <nforrester@whoi.edu>
Cc: Stephen Street <stephen@streetfiresound.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent fe2cc53e
...@@ -1567,7 +1567,7 @@ static int pxa2xx_spi_resume(struct platform_device *pdev) ...@@ -1567,7 +1567,7 @@ static int pxa2xx_spi_resume(struct platform_device *pdev)
int status = 0; int status = 0;
/* Enable the SSP clock */ /* Enable the SSP clock */
clk_disable(ssp->clk); clk_enable(ssp->clk);
/* Start the queue running */ /* Start the queue running */
status = start_queue(drv_data); status = start_queue(drv_data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment