From: Takashi Iwai Subject: Re: [PATCH v2 2/6] ASoC: hdac-hdmi: Add hdmi driver Date: Mon, 26 Oct 2015 08:29:42 +0100 Message-ID: References: <1445821673-4947-1-git-send-email-vinod.koul@intel.com> <1445821673-4947-3-git-send-email-vinod.koul@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 2DD102604A1 for ; Mon, 26 Oct 2015 08:29:46 +0100 (CET) In-Reply-To: <1445821673-4947-3-git-send-email-vinod.koul@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: Vinod Koul Cc: alsa-devel@alsa-project.org, Lars-Peter Clausen , Russell King - ARM Linux , patches.audio@intel.com, Arnaud Pouliquen , Jyri Sarha , liam.r.girdwood@linux.intel.com, broonie@kernel.org, Yakir Yang , "Subhransu S. Prusty" List-Id: alsa-devel@alsa-project.org On Mon, 26 Oct 2015 02:07:49 +0100, Vinod Koul wrote: > +/* > + * Parse all nodes and store the cvt/pin nids in array > + * Add one time initialization for pin and cvt widgets > + */ > +static int hdac_hdmi_parse_and_map_nid(struct hdac_ext_device *edev) > +{ .... > + /* > + * Currently on board only 1 pin and 1 converter enabled. > + * So using fixed map for dai_id:pin:cvt > + */ > + return hdac_hdmi_init_dai_map(edev, &hdmi->dai_map[0], hdmi->pin_nid[0], > + hdmi->cvt_nid[0], 0); Isn't this assumption too naive? And such a restriction has to be written more clearly in the changelog. thanks, Takashi