Skip to content

Commit

Permalink
ALSA: hda - Fix left-over merge issues in patch_hdmi.c
Browse files Browse the repository at this point in the history
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Dec 20, 2011
1 parent 78c058d commit 82b1d73
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sound/pci/hda/patch_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,6 @@ static void hdmi_non_intrinsic_event(struct hda_codec *codec, unsigned int res)

static void hdmi_unsol_event(struct hda_codec *codec, unsigned int res)
{
struct hdmi_spec *spec = codec->spec;
int tag = res >> AC_UNSOL_RES_TAG_SHIFT;
int subtag = (res & AC_UNSOL_RES_SUBTAG) >> AC_UNSOL_RES_SUBTAG_SHIFT;

Expand Down Expand Up @@ -1242,7 +1241,6 @@ static int generic_hdmi_build_jack(struct hda_codec *codec, int pin_idx)
if (pcmdev > 0)
sprintf(hdmi_str + strlen(hdmi_str), ",pcm=%d", pcmdev);

hdmi_present_sense(per_pin, 0);
return snd_hda_jack_add_kctl(codec, per_pin->pin_nid, hdmi_str, 0);
}

Expand Down Expand Up @@ -1274,7 +1272,7 @@ static int generic_hdmi_build_controls(struct hda_codec *codec)
if (err < 0)
return err;

hdmi_present_sense(per_pin, false);
hdmi_present_sense(per_pin, 0);
}

return 0;
Expand Down

0 comments on commit 82b1d73

Please sign in to comment.