Merge branch 'fix/hda' into topic/hda
This commit is contained in:
commit
eb7f80c179
1 changed files with 1 additions and 1 deletions
|
@ -4555,7 +4555,7 @@ int snd_hda_parse_pin_def_config(struct hda_codec *codec,
|
||||||
cfg->hp_outs--;
|
cfg->hp_outs--;
|
||||||
memmove(cfg->hp_pins + i, cfg->hp_pins + i + 1,
|
memmove(cfg->hp_pins + i, cfg->hp_pins + i + 1,
|
||||||
sizeof(cfg->hp_pins[0]) * (cfg->hp_outs - i));
|
sizeof(cfg->hp_pins[0]) * (cfg->hp_outs - i));
|
||||||
memmove(sequences_hp + i - 1, sequences_hp + i,
|
memmove(sequences_hp + i, sequences_hp + i + 1,
|
||||||
sizeof(sequences_hp[0]) * (cfg->hp_outs - i));
|
sizeof(sequences_hp[0]) * (cfg->hp_outs - i));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue