ALSA: hda: Add snd_hdac_ext_bus_link_at() helper
authorCezary Rojewski <cezary.rojewski@intel.com>
Mon, 14 Feb 2022 10:14:01 +0000 (11:14 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 21 Feb 2022 09:56:35 +0000 (10:56 +0100)
commitfefee95488412796b293d28c948be6fce63d149b
treec638b9712b33c9b317fc8c728aa4ced058eaabda
parent15175a4f2bbbcbadb1a40098b6dcff0467300e99
ALSA: hda: Add snd_hdac_ext_bus_link_at() helper

This patch exposes a new helper to directly retrieve the link from the
codec address, and makes use of this helper when retrieving the link
from the codec name.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220214101404.4074026-2-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hdaudio_ext.h
sound/hda/ext/hdac_ext_controller.c