Permalink
Browse files

allowing clk_enable calls in pxa2xx_spi.c again

  • Loading branch information...
1 parent 8e7f312 commit f3e05d77cd3bf3001c847c33ce93c59aa5d3214c Josh S committed Nov 2, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 drivers/spi/pxa2xx_spi.c
View
@@ -1645,8 +1645,8 @@ static int __init pxa2xx_spi_probe(struct platform_device *pdev)
}
/* Enable SOC clock */
- printk("orig spi driver would have disabled the clock (pxa2xx_spi.c:%d)\n",__LINE__);
- //clk_enable(ssp->clk);
+ printk("spi driver enabling the clock (pxa2xx_spi.c:%d)\n",__LINE__);
+ clk_enable(ssp->clk);
/* Load default SSP configuration */
write_SSCR0(0, drv_data->ioaddr);
@@ -1804,8 +1804,8 @@ static int pxa2xx_spi_resume(struct device *dev)
DRCMR_MAPVLD | drv_data->tx_channel;
/* Enable the SSP clock */
- printk("orig spi driver would have enabled the clock (pxa2xx_spi.c:%d)\n",__LINE__);
- //clk_enable(ssp->clk);
+ printk("spi driver enabling the clock (pxa2xx_spi.c:%d)\n",__LINE__);
+ clk_enable(ssp->clk);
/* Start the queue running */
status = start_queue(drv_data);

0 comments on commit f3e05d7

Please sign in to comment.