Re: [PATCH 2/2] ALSA: hda/hdmi - Fix i915 reverse port/pin mapping

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

 



On Tue, 16 Jul 2019 16:33:15 +0200,
Kai Vehmanen wrote:
> 
> Hi Takashi,
> 
> On Tue, 16 Jul 2019, Takashi Iwai wrote:
> 
> > The recent fix for Icelake HDMI codec introduced the mapping from pin
> > NID to the i915 gfx port number.  However, it forgot the reverse
> > mapping from the port number to the pin NID that is used in the ELD
> > notifier callback.  As a result, it's processed to a wrong widget and
> > gives a warning like
> >   snd_hda_codec_hdmi hdaudioC0D2: HDMI: pin nid 5 not registered
> > 
> > This patch corrects it with a proper reverse mapping function.
> 
> looks good:
> 
> Reviewed-by: Kai Vehmanen <kai.vehmanen@xxxxxxxxxxxxxxx>

Thanks for the review.

Actually I found one minor problem now.  The caller doesn't handle the
error case returned from intel_port2pin().  It should be harmless, but
it's better to bail out earlier.

Will resubmit the v2 patch (only for patch 2/2) with the correction.


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