Re: [PATCH] mv_xor: add support for clkdev framework

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 23 Jun 2009, Saeed Bishara wrote:

> 
> > >
> > > Can you expand the changelog to explain why this patch is needed and
> > > summarize what it does?  Also, releasing patches this late in the merge
> Here is the patch with more explanation:
> ----------------------------------------<
> >From c999ed53a913979f1739854cb7c881a9dde980c6 Mon Sep 17 00:00:00 2001
> From: Saeed Bishara <saeed@xxxxxxxxxxx>
> Date: Tue, 12 May 2009 13:29:34 +0300
> Subject: [PATCH 1/2 v2] mv_xor: add support for clkdev framework
> 
> When the clkdev framework is enabled, the device's clock is gated
> by default, this patch uses the framework to enable the clock
> when using the driver loaded and disables it when unloading the
> driver.

Can't you be more agressive with clock gating?

Like using clk_get() when loading the driver and clk_put() when 
unloading, but using clk_enable()/clk_disable() only when a DMA channel 
is actually requested or active.


Nicolas
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux