From: Eric BENARD Date: Mon, 12 May 2008 21:02:01 +0000 (-0700) Subject: spi: pxa2xx_spi clock resume bugfix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0cf942d75a6acfa11a41f63330d8780901eda4af;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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);