[alsa-devel] [PATCH v2 1/2] ALSA: hda/hdmi - Read the pin sense from register when repolling
Hui Wang
hui.wang at canonical.com
Tue May 7 01:29:47 CEST 2019
On 2019/5/6 下午10:31, Takashi Iwai wrote:
> 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.
Oh, sorry.
>
>
> Takashi
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
More information about the Alsa-devel
mailing list