• David Henningsson's avatar
    ALSA: hda - Explicitly keep codec powered up in hdmi_present_sense · da4a7a39
    David Henningsson authored
    This should help us avoid the following mutex deadlock:
    
    [] mutex_lock+0x2a/0x50
    [] hdmi_present_sense+0x53/0x3a0 [snd_hda_codec_hdmi]
    [] generic_hdmi_resume+0x5a/0x70 [snd_hda_codec_hdmi]
    [] hda_call_codec_resume+0xec/0x1d0 [snd_hda_codec]
    [] snd_hda_power_save+0x1e4/0x280 [snd_hda_codec]
    [] codec_exec_verb+0x5f/0x290 [snd_hda_codec]
    [] snd_hda_codec_read+0x5b/0x90 [snd_hda_codec]
    [] snd_hdmi_get_eld_size+0x1e/0x20 [snd_hda_codec_hdmi]
    [] snd_hdmi_get_eld+0x2c/0xd0 [snd_hda_codec_hdmi]
    [] hdmi_present_sense+0x9a/0x3a0 [snd_hda_codec_hdmi]
    [] hdmi_repoll_eld+0x34/0x50 [snd_hda_codec_hdmi]
    Signed-off-by: default avatarDavid Henningsson <david.henningsson@canonical.com>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    da4a7a39
patch_hdmi.c 92.6 KB