]> 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)
commitdf65da095c3d48091b0c6dea16726ab87ee7e35a
tree32e68c37fca1c6ab3cbba4e0cc4a04debc4f7913
parent96e787eaa02972a6a7b54a8ceee100bd7aef825b
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