summaryrefslogtreecommitdiff
path: root/include/sound/hdaudio.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2015-02-26 11:29:03 (GMT)
committerTakashi Iwai <tiwai@suse.de>2015-03-23 12:19:41 (GMT)
commit5e56bcea5017b7b7808df60f21ef01738b6e1a25 (patch)
treebf841e780837f867d8e842928440537e1eb465cc /include/sound/hdaudio.h
parentfaa75f8a2edf005a5caf43be4875ffeeb9bcb498 (diff)
downloadlinux-5e56bcea5017b7b7808df60f21ef01738b6e1a25.tar.xz
ALSA: hda - Allow driver to add vendor-specific verbs for regmap
Codecs may have own vendor-specific verbs, and we need to allow each driver to give such verbs for cached accesses. Here a verb can be put into a single array and looked through it at readable and writeable callbacks. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/hdaudio.h')
-rw-r--r--include/sound/hdaudio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/hdaudio.h b/include/sound/hdaudio.h
index ce7d8d1..7020325 100644
--- a/include/sound/hdaudio.h
+++ b/include/sound/hdaudio.h
@@ -75,6 +75,7 @@ struct hdac_device {
/* regmap */
struct regmap *regmap;
+ struct snd_array vendor_verbs;
bool lazy_cache:1; /* don't wake up for writes */
bool caps_overwriting:1; /* caps overwrite being in process */
};