Skip to content
  • Takashi Iwai's avatar
    ALSA: hda - Make codec-probing more robust · 6ce4a3bc
    Takashi Iwai authored
    
    
    When an error occurs during the codec probing, typically accessing to an
    non-existing codec slot, the controller chip gets often screwed up and
    can no longer communicate with the codecs.
    
    This patch adds a preparation phase just to probe codec addresses before
    actually creating codec instances.  If any error occurs during this
    probing phase, the driver resets the controller to recover.
    
    This will (hopefully) fix the famous "single_cmd" errors.
    
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    6ce4a3bc