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)
commit05852448690d7d810175f8ceccefba083525aa89
tree32e68c37fca1c6ab3cbba4e0cc4a04debc4f7913
parent3256be6537751f65c76b3ecfbb4e667f87525a2f
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