ALSA: hda - Allow user to give hints for codec parser behavior
Through the hints via sysfs or patch, user can set specific behavior flags for the generic parser now. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
@@ -126,6 +126,9 @@ int snd_hda_parse_pin_defcfg(struct hda_codec *codec,
|
||||
struct auto_out_pin hp_out[ARRAY_SIZE(cfg->hp_pins)];
|
||||
int i;
|
||||
|
||||
if (!snd_hda_get_int_hint(codec, "parser_flags", &i))
|
||||
cond_flags = i;
|
||||
|
||||
memset(cfg, 0, sizeof(*cfg));
|
||||
|
||||
memset(line_out, 0, sizeof(line_out));
|
||||
|
Reference in New Issue
Block a user