[alsa-devel] [PATCH v2 1/2] ALSA: hda/hdmi - Read the pin sense from register when repolling
Takashi Iwai
tiwai at suse.de
Mon May 6 16:31:15 CEST 2019
On Mon, 06 May 2019 16:09:31 +0200,
Hui Wang wrote:
>
> @@ -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->jack_dirty = 1;
Oh, and I corrected the obvious typo above manually while applying.
We don't need to substitute jack twice.
Takashi
More information about the Alsa-devel
mailing list