• Takashi Iwai's avatar
    ALSA: x86: Remove superfluous check at resume · caa2a61a
    Takashi Iwai authored
    The had_get_hwstate() is identical with drv_status==DISCONECTED, which
    was already checked before the call.  And, returning an error at
    resume is simply bad.  That is, we should just kill this check.
    
    Also, spewing an error at resume for drv_status!=SUSPENDED is also
    annoying, as this is the normal case when the suspend was called
    without the monitor connection.  Make it debug, too.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    caa2a61a
intel_hdmi_audio.c 59.6 KB