From: Eric BENARD Date: Mon, 12 May 2008 21:02:01 +0000 (-0700) Subject: spi: pxa2xx_spi clock resume bugfix X-Git-Tag: v2.6.26-rc3~109 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0cf942d75a6acfa11a41f63330d8780901eda4af;p=linux-2.6-omap-h63xx.git 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 Cc: Ned Forrester Cc: Stephen Street Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/spi/pxa2xx_spi.c b/drivers/spi/pxa2xx_spi.c index 654bb58be63..0c452c46ab0 100644 --- a/drivers/spi/pxa2xx_spi.c +++ b/drivers/spi/pxa2xx_spi.c @@ -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);