From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Keepax Subject: Re: [PATCH 01/13] ASoC: Add snd_soc_kcontrol_codec() helper function Date: Mon, 24 Mar 2014 10:57:51 +0000 Message-ID: <20140324105750.GH1665@opensource.wolfsonmicro.com> References: <1395129736-11938-1-git-send-email-lars@metafoo.de> <1395129736-11938-2-git-send-email-lars@metafoo.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id C0BAF2610A0 for ; Mon, 24 Mar 2014 11:57:51 +0100 (CET) Content-Disposition: inline In-Reply-To: <1395129736-11938-2-git-send-email-lars@metafoo.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Lars-Peter Clausen Cc: Brian Austin , alsa-devel@alsa-project.org, patches@opensource.wolfsonmicro.com, Liam Girdwood , Paul Handrigan , Peter Ujfalusi , Mark Brown , Maxime Ripard , Kuninori Morimoto List-Id: alsa-devel@alsa-project.org On Tue, Mar 18, 2014 at 09:02:04AM +0100, Lars-Peter Clausen wrote: > For CODEC controls snd_kcontrol_chip() currently returns a pointer to the > CODEC that registered the control. With the upcoming consolidation of > platform and CODEC controls this will change. Prepare for this by introducing > the snd_soc_kcontrol_codec() helper function that will hide the implementation > details of how the CODEC for a control can be obtained. This will allow us to > change this easily in the future. > > The patch also updates all CODEC drivers to use the new helper function. > > Signed-off-by: Lars-Peter Clausen > --- For the Wolfson bits: Acked-by: Charles Keepax Thanks, Charles