summaryrefslogtreecommitdiff
path: root/sound/core/pcm_drm_eld.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/core/pcm_drm_eld.c')
-rw-r--r--sound/core/pcm_drm_eld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/pcm_drm_eld.c b/sound/core/pcm_drm_eld.c
index 688eefce82fa..cb2eebaac85f 100644
--- a/sound/core/pcm_drm_eld.c
+++ b/sound/core/pcm_drm_eld.c
@@ -379,7 +379,7 @@ int snd_parse_eld(struct device *dev, struct snd_parsed_hdmi_eld *e,
* in console or for audio devices. Assume the highest speakers
* configuration, to _not_ prohibit multi-channel audio playback.
*/
- if (!e->spk_alloc)
+ if (!e->spk_alloc && e->sad_count)
e->spk_alloc = 0xffff;
return 0;