Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753767Ab0KYPnF (ORCPT ); Thu, 25 Nov 2010 10:43:05 -0500 Received: from perceval.ideasonboard.com ([95.142.166.194]:37502 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752187Ab0KYPnD (ORCPT ); Thu, 25 Nov 2010 10:43:03 -0500 From: Laurent Pinchart To: Mark Brown Subject: Re: [RFC/PATCH v6 05/12] media: Reference count and power handling Date: Thu, 25 Nov 2010 16:43:16 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.36-gentoo-r1; KDE/4.5.3; x86_64; ; ) Cc: linux-media@vger.kernel.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, lrg@slimlogic.co.uk, sakari.ailus@maxwell.research.nokia.com, lennart@poettering.net References: <1290652099-15102-1-git-send-email-laurent.pinchart@ideasonboard.com> <1290652099-15102-6-git-send-email-laurent.pinchart@ideasonboard.com> <20101125134908.GC24208@opensource.wolfsonmicro.com> In-Reply-To: <20101125134908.GC24208@opensource.wolfsonmicro.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201011251643.17313.laurent.pinchart@ideasonboard.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1564 Lines: 37 Hi Mark, On Thursday 25 November 2010 14:49:08 Mark Brown wrote: > On Thu, Nov 25, 2010 at 03:28:12AM +0100, Laurent Pinchart wrote: > > If the entity is of node type, the power change is distributed to > > all connected entities. For non-nodes it only affects that very > > node. A mutex is used to serialise access to the entity graph. > > ASoC has its own power management stuff which doesn't *quite* map onto > this one as-is. The power determination stuff is essentially identical > (and this is actually nicer) but we have a separate postprocessing stage > that actually applies the changes in a sequence which minimises audible > issues caused by doing things in a bad order (eg, power down a PGA > before you turn off inputs). This is noddy enough to implement, though > - we just need a pre and post run notifications to set up and implement > the changes I think. That sounds feasible. Sakari, you've implemented power management, what do you think about this ? > BTW, I notice you've not CCed the ALSA list, Liam, Takashi or Jaroslav > on any of this - might be good. I've just subscrived to the alsa-devel list. I will make sure to CC it, as well as Liam, Takashi and Jaroslav, on the next version of the patches. Sorry about the missing CC's in these e-mails. -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/