]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb9b02b35c73e8d2b7ed036c819adb1cec60fc67d
tree0ee8608ba0ff468570526b4d4cd5d1daf2d0876e
parentee93d7c69bb555f8631108017ef54b7474cdd026
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: 16bc23335438 ("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