From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Koul, Vinod" Subject: Re: [PATCH v2 2/6] ASoC: hdac-hdmi: Add hdmi driver Date: Mon, 26 Oct 2015 08:30:45 +0000 Message-ID: <1445848243.5321.45.camel@intel.com> 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by alsa0.perex.cz (Postfix) with ESMTP id 1840C260522 for ; Mon, 26 Oct 2015 09:31:10 +0100 (CET) In-Reply-To: Content-Language: en-US Content-ID: <240444C3854A534EB051F76F083E0063@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: "tiwai@suse.de" Cc: "alsa-devel@alsa-project.org" , "lars@metafoo.de" , "linux@arm.linux.org.uk" , Patches Audio , "arnaud.pouliquen@st.com" , "jsarha@ti.com" , "liam.r.girdwood@linux.intel.com" , "broonie@kernel.org" , "ykk@rock-chips.com" , "Prusty, Subhransu S" List-Id: alsa-devel@alsa-project.org On Mon, 2015-10-26 at 08:29 +0100, Takashi Iwai wrote: > 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. The intention here in this series is to have basic HDMI features enabled :) The intention is to keep adding stuff to support multichannel, IEC, multiple outputs, SW notification etc once basic driver is merged Agreed we can add this to changelog. I can send updated rev, once I have other comments -- ~Vinod