lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <50124D54.3020405@nvidia.com>
Date:	Fri, 27 Jul 2012 13:42:04 +0530
From:	Laxman Dewangan <ldewangan@...dia.com>
To:	Vinod Koul <vinod.koul@...ux.intel.com>
CC:	"dan.j.williams@...el.com" <dan.j.williams@...el.com>,
	Stephen Warren <swarren@...dia.com>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V2] dma: tegra: enable/disable dma clock

On Tuesday 24 July 2012 10:30 AM, Laxman Dewangan wrote:
> On Tuesday 24 July 2012 10:38 AM, Vinod Koul wrote:
>> On Fri, 2012-07-20 at 13:31 +0530, Laxman Dewangan wrote:
>>> Enable the DMA clock when allocating channel and
>>> disable clock when freeing channels.
>>>
>>> Signed-off-by: Laxman Dewangan<ldewangan@...dia.com>
>>> ---
>>> +	clk_disable_unprepare(tdma->dma_clk);
>> What if another channel is active, disabling clock can cause bad
>> behavior. You should check here if all channels are idle and then
>> disable, or is this handled by clock API?
> Yes, clock driver keeps the reference count and so client driver need
> not to take care.
>
Hi Vinod,
Is there any thing remaining from my side here?
Is it possible to make it for K3.6?

Thanks,
Laxman

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ