• Takashi Iwai's avatar
    ALSA: hda - Avoid call of snd_jack_report at release · 95c09099
    Takashi Iwai authored
    Don't call snd_jack_report at release of sigmatel and conexnat codecs
    which results in Oops at unloading the module.
    
    The Oops is triggered by the power-up sequence during the free due to
    the pincfg restoration.  Since the power-up sequence is involved with
    the unsol handling, the jack reporting may be issued during that.
    The Oops occurs with this jack reporting because the jack instances
    have been already released but the codec doesn't do the proper
    book-keeping.
    
    This patch adds the book-keeping of jack instances to avoid the access
    to bogus pointers.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    95c09099
patch_conexant.c 57.8 KB