summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-08-08 17:12:52 +0200
committerTakashi Iwai <tiwai@suse.de>2012-08-08 17:12:52 +0200
commited36081350d2ca4f692f04c6a2d24d1e3a339da1 (patch)
treedcfebceb1319315ec78be8567d8fbb27e1345b01 /sound/pci/hda/hda_codec.h
parent012e7eb1e501d0120e0383b81477f63091f5e365 (diff)
downloadblackbird-op-linux-ed36081350d2ca4f692f04c6a2d24d1e3a339da1.tar.gz
blackbird-op-linux-ed36081350d2ca4f692f04c6a2d24d1e3a339da1.zip
ALSA: hda - Add codec->pcm_format_first flag
Introduced a new flag to set up the PCM stream format at first before the stream_id and channel tag. Some codecs (e.g. CA0132) seem preferring this over stream_id -> format order. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index c422d330ca54..7fbc1bcaf1a9 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -861,6 +861,7 @@ struct hda_codec {
unsigned int no_trigger_sense:1; /* don't trigger at pin-sensing */
unsigned int ignore_misc_bit:1; /* ignore MISC_NO_PRESENCE bit */
unsigned int no_jack_detect:1; /* Machine has no jack-detection */
+ unsigned int pcm_format_first:1; /* PCM format must be set first */
#ifdef CONFIG_SND_HDA_POWER_SAVE
unsigned int power_on :1; /* current (global) power-state */
int power_transition; /* power-state in transition */
OpenPOWER on IntegriCloud