diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-03-07 18:32:59 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-03-07 18:32:59 +0100 |
commit | f811c3cf8fae63ecc8a937ba7376490e2565f8f1 (patch) | |
tree | 2e1b91e0079b8f1b404260d2ea5cf51d513f6332 /sound/pci/hda/patch_realtek.c | |
parent | 3f550e323242bea82d07dfd06e6ce3f723eef7bd (diff) | |
download | talos-obmc-linux-f811c3cf8fae63ecc8a937ba7376490e2565f8f1.tar.gz talos-obmc-linux-f811c3cf8fae63ecc8a937ba7376490e2565f8f1.zip |
ALSA: hda - Consolidate add_in_jack_modes and add_out_jack_modes hints
There is no big merit to distinguish these two hints. Instead, just
have a single flag, add_jack_modes, for creating the jack mode enum
ctls for both I/O directions.
The hint string parser code is left and translated as add_jack_modes
just for keeping compatibility.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 056990e5ffe9..f772585c89ba 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -1526,8 +1526,7 @@ static void alc260_fixup_fsc_s7020_jwse(struct hda_codec *codec, { struct alc_spec *spec = codec->spec; if (action == HDA_FIXUP_ACT_PRE_PROBE) { - spec->gen.add_out_jack_modes = 1; - spec->gen.add_in_jack_modes = 1; + spec->gen.add_jack_modes = 1; spec->gen.hp_mic = 1; } } |