Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);