Skip to content

Conversation

@mikelr
Copy link
Contributor

@mikelr mikelr commented Apr 7, 2024

If the display does not indicate audio support in the EDID, hdmi->hdmi_audio will be NULL. In this case, we avoid setting up audio output, however we were still attempting to tear it down on disable.

This could lead to a null pointer exception when disabling the output.

Fix the issue by using the same check on tear down as we do on create.

If the display does not indicate audio support in the EDID,
hdmi->hdmi_audio will be NULL. In this case, we avoid setting up audio
output, however we were still attempting to tear it down on disable.

This could lead to a null pointer exception when disabling the output.

Fix the issue by using the same check on tear down as we do on create.

Signed-off-by: Mikel Rychliski <mikel@mikelr.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant