From: Takashi Iwai Subject: Re: [PATCH] ALSA: hda/tegra: compatible string as shortname Date: Thu, 29 Nov 2018 07:55:52 +0100 Message-ID: References: <1543463932-27625-1-git-send-email-spujar@nvidia.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 mx1.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 328D3267B11 for ; Thu, 29 Nov 2018 07:55:53 +0100 (CET) In-Reply-To: <1543463932-27625-1-git-send-email-spujar@nvidia.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: Sameer Pujar Cc: alsa-devel@alsa-project.org, broonie@kernel.org List-Id: alsa-devel@alsa-project.org On Thu, 29 Nov 2018 04:58:52 +0100, Sameer Pujar wrote: > > By default HDA sound card is registered with shortname "tegra-hda". > Same driver is used across tegra platforms and it is necessary to > distinguish between platforms to use platform specific settings from > userspace. One such example is, hdmi port on different platforms use > different alsa pcm device ID. For hdmi playback to work it should > open correct pcm device depending on the platform. > > This patch applies shortname from first compatible string provided > in root node of device tree. Userspace then can use this card name > to apply specific settings. > > Signed-off-by: Sameer Pujar Applied, thanks. Takashi