Skip to content

Commit

Permalink
allowing clk_enable calls in pxa2xx_spi.c again
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh S committed Nov 2, 2012
1 parent 8e7f312 commit f3e05d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/spi/pxa2xx_spi.c
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit f3e05d7

Please sign in to comment.