• Takashi Iwai's avatar
    ALSA: hda - Fix possible runtime PM refcount unbalance · c4c2533f
    Takashi Iwai authored
    When the driver is unloaded before the codec is bound, it still keeps
    the runtime PM refcount up, and results in the unbalance.  This patch
    covers these cases by introducing a flag indicating the runtime PM
    initialization and handling the codec registration procedure more
    properly.  It also fixes the missing input beep device as a gratis,
    too.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    c4c2533f
hdac_device.c 12.5 KB