• Takashi Iwai's avatar
    ALSA: hda - Check validity of CORB/RIRB WP reads · cc5ede3e
    Takashi Iwai authored
    When the HD-audio controller is disabled (e.g. via vga switcheroo) but
    the driver is still accessing it, it spews floods of "spurious
    response" kernel messages.  It's because CORB/RIRB WP reads 0xff, and
    the driver tries to fill up until this number.
    
    This patch changes the CORB/RIRB WP reads to word instead of byte, and
    add the check of the read value.  If it's 0xffff, the controller is
    supposed to be disabled, so the further action will be skipped.
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    cc5ede3e
hda_intel.c 102 KB