]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - sound/pci/hda/hda_codec.c
Merge branch 'fix/hda' into topic/hda
[net-next-2.6.git] / sound / pci / hda / hda_codec.c
index 72334b7f60e58d1157c992df153bd223d5cfcf4b..2980c277847a418790e76fc8f28cba46b3e6698c 100644 (file)
@@ -4555,7 +4555,7 @@ int snd_hda_parse_pin_def_config(struct hda_codec *codec,
                        cfg->hp_outs--;
                        memmove(cfg->hp_pins + i, cfg->hp_pins + i + 1,
                                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));
                }
        }