On 10/06/15 21:51, Russell King - ARM Linux wrote:
We at least need some kind of notification system from the video part to the other parts, so that we can sanely transmit connect/disconnect/ edid updates to different parts of the system*not* that I'm suggesting that in the case of the Dove Cubox, seeing a disconnect on HDMI should kill the audio - it most_certainly_ _never_ should there, it would be utterly insane, and I'm going to play hard-ball on that case.
I am not proposing any automatic mechanism for killing the audio in the my hdmi codec patch set. I am merely providing the means for the video driver to gracefully abort the audio stream if the driver decides it can not support it any more.
For external HDMI encoders that is hardly ever needed, since the CPU DAI is usually the bit- and frame-clock master in those cases. The CPU DAI can go on banging the bits even if the encoder isn't listening. So we can drop the abort_cb() that if it still annoys you after this explanation.
Best regards, Jyri