aboutsummaryrefslogtreecommitdiff
path: root/sound/pci/hda/patch_cirrus.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-08-20 09:14:45 +0200
committerTakashi Iwai <tiwai@suse.de>2011-08-20 09:23:10 +0200
commitb6acf013bdc6f6ff9643030add85832d44034a28 (patch)
treef4a9d53153906292cfc529e35fd2d8d0bf07d4a6 /sound/pci/hda/patch_cirrus.c
parent38b65190c6ab0be8ce7cff69e734ca5b5e7fa309 (diff)
ALSA: hda - Don't spew too many ELD errors
Currently HD-audio driver shows the all error ELD byte as an error in the kernel message. This is annoying when the video driver doesn't set the correct ELD from the beginning. e.g. radeon sends a zero-byte data, but we still check ELD with the fixed 128 byte as a workaround for some broken devices, it spews 128-times errors. For avoiding this, the driver aborts reading when the first byte is invalid. In such a case, the whole data is certainly invalid. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_cirrus.c')
0 files changed, 0 insertions, 0 deletions