Re: [PATCH v3 04/10] spi/pxa2xx: convert to the common clk framework

2013-01-25 Thread Mark Brown
On Tue, Jan 22, 2013 at 12:26:27PM +0200, Mika Westerberg wrote: > Convert clk_enable() to clk_prepare_enable() and clk_disable() to > clk_disable_unprepare() respectively in order to support the common clk > framework. Otherwise we get warnings on the console as the clock is not > prepared before

[PATCH v3 04/10] spi/pxa2xx: convert to the common clk framework

2013-01-22 Thread Mika Westerberg
Convert clk_enable() to clk_prepare_enable() and clk_disable() to clk_disable_unprepare() respectively in order to support the common clk framework. Otherwise we get warnings on the console as the clock is not prepared before it is enabled. In addition we must cache the maximum clock rate to drv_d