summaryrefslogtreecommitdiff
path: root/sound/drivers
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-12-12 10:10:49 (GMT)
committerTakashi Iwai <tiwai@suse.de>2012-12-12 10:32:33 (GMT)
commitcc5ede3efdf1c3777efdf92124e7572c1024a7f0 (patch)
tree103bd4daea72d60e42fdbcb6bf3edb9412edae55 /sound/drivers
parentfa348da53b6ffd3dcebae288d4072a4571755d35 (diff)
downloadlinux-fsl-qoriq-cc5ede3efdf1c3777efdf92124e7572c1024a7f0.tar.xz
ALSA: hda - Check validity of CORB/RIRB WP reads
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: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/drivers')
0 files changed, 0 insertions, 0 deletions