21 Sep
2011
21 Sep
'11
1:12 a.m.
Hi, I've been trying for some time to expose the HDMI ELD information in a new control. The problem I am facing with the HDMI/HDA code is that the ELD is linked to an output pin, and I can't find an elegant way to link this output pin with a PCM device number to be used by my control. For a single output, I could hard-code something but it would probably not work with multiple monitors handled by recent hardware. There is some existing code such as pin_nid_to_pin_index() in patch_hdmi.c, but I can't figure out what this pin_idx is, and how to find the related PCM device number. Any suggestions? Thanks, -Pierre