aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_local.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-01-23 18:10:10 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-23 18:10:10 +0100
commit1f57825077dc2fa4e3d4a4e6b3af6c75f81112e7 (patch)
treef7172473bf9f1ac37d75f0afbeac8d65fcd0dd3f /sound/pci/hda/hda_local.h
parentALSA: hda - Small code refactoring about path re-initialization (diff)
downloadlinux-dev-1f57825077dc2fa4e3d4a4e6b3af6c75f81112e7.tar.xz
linux-dev-1f57825077dc2fa4e3d4a4e6b3af6c75f81112e7.zip
ALSA: hda - Add chained_before flag to the fixup entry
Sometimes we want to call a fixup after applying other existing fixups, but currently the fixup chain mechanism allows only the call the others after the target fixup. This patch adds a new flag, chained_before, to struct hda_fixup, for allowing the chained call before the current execution. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-rw-r--r--sound/pci/hda/hda_local.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h
index f92979c6b023..2ff62dcf2fcb 100644
--- a/sound/pci/hda/hda_local.h
+++ b/sound/pci/hda/hda_local.h
@@ -401,7 +401,8 @@ struct hda_model_fixup {
struct hda_fixup {
int type;
- bool chained;
+ bool chained:1; /* call the chained fixup(s) after this */
+ bool chained_before:1; /* call the chained fixup(s) before this */
int chain_id;
union {
const struct hda_pintbl *pins;