ALSA: hda/hdmi - Read the pin sense from register when repolling
[linux-2.6-microblaze.git] / sound / pci / hda / patch_hdmi.c
index 8b3ac69..380001d 100644 (file)
@@ -1663,6 +1663,11 @@ static void hdmi_repoll_eld(struct work_struct *work)
        container_of(to_delayed_work(work), struct hdmi_spec_per_pin, work);
        struct hda_codec *codec = per_pin->codec;
        struct hdmi_spec *spec = codec->spec;
+       struct hda_jack_tbl *jack;
+
+       jack = snd_hda_jack_tbl_get(codec, per_pin->pin_nid);
+       if (jack)
+               jack->jack_dirty = 1;
 
        if (per_pin->repoll_count++ > 6)
                per_pin->repoll_count = 0;