aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_generic.h
diff options
context:
space:
mode:
authorSameer Pujar <spujar@nvidia.com>2018-11-29 09:28:52 +0530
committerTakashi Iwai <tiwai@suse.de>2018-11-29 07:55:40 +0100
commitc94800a3952c71191c3a8a7151695216da43d5eb (patch)
tree5a6ac845e1a1eb25a644e6b7c80962eb60b1a96b /sound/pci/hda/hda_generic.h
parentALSA: control: Consolidate helpers for adding and replacing ctl elements (diff)
downloadlinux-dev-c94800a3952c71191c3a8a7151695216da43d5eb.tar.xz
linux-dev-c94800a3952c71191c3a8a7151695216da43d5eb.zip
ALSA: hda/tegra: compatible string as shortname
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 <spujar@nvidia.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_generic.h')
0 files changed, 0 insertions, 0 deletions