Skip to content
Snippets Groups Projects
Commit 0480f101 authored by Takashi Iwai's avatar Takashi Iwai Committed by Alex Deucher
Browse files

drm: radeon: Fix audio get_eld callback

Check the availability of the audio capability and mode config before
going to the loop for avoiding the access to an unusable state.  Also,
change the loop iterations over encoder instead of connector in order
to align with radeon_audio_enable().

Link: drm/amd#2236


Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 96c233db
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment