Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <dbrownell@users.sourceforge.net>
Cc: Ned Forrester <nforrester@whoi.edu>
Cc: Stephen Street <stephen@streetfiresound.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Eric BENARD and committed by
Linus Torvalds
0cf942d7 fe2cc53e

+1 -1
+1 -1
drivers/spi/pxa2xx_spi.c
··· 1567 1567 int status = 0; 1568 1568 1569 1569 /* Enable the SSP clock */ 1570 - clk_disable(ssp->clk); 1570 + clk_enable(ssp->clk); 1571 1571 1572 1572 /* Start the queue running */ 1573 1573 status = start_queue(drv_data);