]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Support indirect execution of verbs
authorTakashi Iwai <tiwai@suse.de>
Tue, 3 Mar 2015 14:40:08 +0000 (15:40 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Mar 2015 12:17:37 +0000 (13:17 +0100)
commit77c6bf7316c4547e1b5605364632341b83bcbad9
tree32e68c37fca1c6ab3cbba4e0cc4a04debc4f7913
parent13906634a401ea9d58969efdd66a8750e1dd2b57
ALSA: hda - Support indirect execution of verbs

Add an overriding exec_verb op to struct hdac_device so that the call
via snd_hdac_exec_verb() can switch to a different route depending on
the setup.  The codec driver sets this field so that it can handle the
errors or applying quirks appropriately.  Furthermore, this mechanism
will be used for smooth transition for the regmap support in later
patches.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hdaudio.h
sound/hda/hdac_device.c
sound/pci/hda/hda_codec.c