snd_bcm2835: disable HDMI audio when vc4 is used (#3640)
authorHristo Venev <hristo@venev.name>
Fri, 5 Jun 2020 09:22:49 +0000 (09:22 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:02 +0000 (16:04 +0000)
commit05f681d66fedf94983ce8e271bcf783caff0c8cc
tree53d43e7ffe889d9dc5c686bb2abdd14043af9765
parent09f6302411e242a2f7def9b501a83957ff203113
snd_bcm2835: disable HDMI audio when vc4 is used (#3640)

Things don't work too well when both the vc4 driver and the firmware
driver are trying to control the same audio output:

[  763.569406] bcm2835_audio bcm2835_audio: vchi message timeout, msg=5

Hence, when the vc4 HDMI driver is used, let it control audio. This is done
by introducing a new device tree property to the audio node, and
extending the vc4-kms-v3d overlays to set it appropriately.

Signed-off-by: Hristo Venev <hristo@venev.name>
drivers/staging/vc04_services/bcm2835-audio/bcm2835.c