Re: [PATCH v2 1/2] ALSA: hda/hdmi - Read the pin sense from register when repolling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux