From: Takashi Iwai Subject: Re: [PATCH 01/12] ALSA: hdac: Add codec helper library Date: Mon, 29 Aug 2016 10:41:22 +0200 Message-ID: References: <1472451806-10605-1-git-send-email-subhransu.s.prusty@intel.com> <1472451806-10605-2-git-send-email-subhransu.s.prusty@intel.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 422FC26775B for ; Mon, 29 Aug 2016 18:33:15 +0200 (CEST) In-Reply-To: <1472451806-10605-2-git-send-email-subhransu.s.prusty@intel.com> 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: "Subhransu S. Prusty" Cc: patches.audio@intel.com, Vinod Koul , alsa-devel@alsa-project.org, broonie@kernel.org, lgirdwood@gmail.com List-Id: alsa-devel@alsa-project.org On Mon, 29 Aug 2016 08:23:15 +0200, Subhransu S. Prusty wrote: > > Add hdac helpers to enumerate the HDA widgets and fill connection > lists for each. > > Signed-off-by: Subhransu S. Prusty > Signed-off-by: Vinod Koul > --- > include/sound/hdaudio.h | 1 + > sound/hda/ext/Makefile | 3 +- > sound/hda/ext/hdac_codec.c | 182 +++++++++++++++++++++++++++++++++++++++++++++ > sound/hda/ext/hdac_codec.h | 53 +++++++++++++ > 4 files changed, 238 insertions(+), 1 deletion(-) > create mode 100644 sound/hda/ext/hdac_codec.c > create mode 100644 sound/hda/ext/hdac_codec.h > > diff --git a/include/sound/hdaudio.h b/include/sound/hdaudio.h > index 93e63c5..79502dc 100644 > --- a/include/sound/hdaudio.h > +++ b/include/sound/hdaudio.h > @@ -71,6 +71,7 @@ struct hdac_device { > unsigned int flags, unsigned int *res); > > /* widgets */ > + struct list_head widget_list; > unsigned int num_nodes; > hda_nid_t start_nid, end_nid; Any reason to add this to hdac_device although it's used only by hda/ext? thanks, Takashi