[alsa-devel] [PATCH 3/3] ALSA: hda/tegra: sound card name from device tree

Takashi Iwai tiwai at suse.de
Fri Feb 22 10:47:16 CET 2019


On Wed, 20 Feb 2019 16:13:24 +0100,
Sameer Pujar wrote:
> 
> A platform can have multiple sound cards for different audio paths.
> Following is the print seen duirng device boot for jetson-xavier,
>   ALSA device list:
>     #0: nvidia,p2972-0000 at 0x3518000 irq 17
> By looking at above, it is not very clear if the sound card is for
> HDA. It becomes confusing when platform has registered multiple cards,
> and platform model name is used for card.
> 
> This patch uses "nvidia,model" property mentioned in hda device tree
> to get the card name. Since property is optional, legacy boards will
> continue to use "tegra-hda". Custom name can be passed wherever needed.
> This naming convention is conistent with the way sound cards are named
> in general.
> 
> Signed-off-by: Sameer Pujar <spujar at nvidia.com>
> Reviewed-by: Jonathan Hunter <jonathanh at nvidia.com>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list