ALSA: hda/hdmi - Clear codec->relaxed_resume flag at unbinding
authorTakashi Iwai <tiwai@suse.de>
Fri, 22 Nov 2019 13:26:24 +0000 (14:26 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 22 Nov 2019 13:34:00 +0000 (14:34 +0100)
commit10a9594563415855bd99678ea4f91dea792e5499
tree0ee8608ba0ff468570526b4d4cd5d1daf2d0876e
parent5a858e79c911330678b5a9be91a24830e94a0dc9
ALSA: hda/hdmi - Clear codec->relaxed_resume flag at unbinding

The HDMI codec may leave codec->relaxed_resume flag set even after
unbinding.  Clear it unconditionally.

It's very unlikely that this actually matters in the real use case,
so just a fix for consistency.

Fixes: ade49db337a9 ("ALSA: hda/hdmi - Allow audio component for AMD/ATI and Nvidia HDMI")
Link: https://lore.kernel.org/r/20191122132624.5482-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_hdmi.c