Since modern HDMI cards often have more than one output pin and thus input device, we need to know which one has actually been plugged in. This patch adds a name hint that indicates which PCM device is connected to which pin.
I've been thinking about this, and there's some additional work needed for the jack-detection to be useful. User-space code will need at some point to rely on the ELD information to know what the HDMI receiver supports, eg to enable/disable passthrough. I hacked a while ago a small patch to make the ELD bytes available in a control (see attached). It seems to work but I wasn't too sure how to expose it. Should we define a convention for the name of this control as well? Or is there a way to link a control to a specify PCM device? Thanks for your feedback, -Pierre