From: Takashi Iwai Subject: Re: [alsa-devel] [PATCH 4/4] ASoC: tda998x: adjust the audio hw parameters from EDID Date: Tue, 28 Jan 2014 10:23:57 +0100 Message-ID: References: <20140127204441.GZ11841@sirena.org.uk> <20140127204915.GC15937@n2100.arm.linux.org.uk> <20140127205437.GC11841@sirena.org.uk> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20140127205437.GC11841@sirena.org.uk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org To: Mark Brown Cc: alsa-devel@alsa-project.org, Russell King - ARM Linux , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org List-Id: alsa-devel@alsa-project.org At Mon, 27 Jan 2014 20:54:37 +0000, Mark Brown wrote: > > On Mon, Jan 27, 2014 at 08:49:15PM +0000, Russell King - ARM Linux wrote: > > On Mon, Jan 27, 2014 at 08:44:41PM +0000, Mark Brown wrote: > > > > Can this parsing code be factored out - it (or large parts of it) should > > > be usable by other HDMI devices shouldn't it? > > > Yes, preferably as a generic ALSA helper rather than an ASoC helper - > > I don't see any need for this to be ASoC specific (I have a pure ALSA > > driver which has very similar code in it.) > > Indeed, definitely ALSA generic - ideally we could factor a lot of the > integration with the video side out. Yes, indeed. OTOH, as discussed recently, we're heading to move from ELD parsing to more direct communication between video and audio drivers for HD-audio. ELD will be still provided to user-space, but not evaluated any longer in the new scenario. Takashi