ALSA: hda - hdmi: Skip out-of-range latency values in AMD ELD generator
authorAnssi Hannula <anssi.hannula@iki.fi>
Sun, 10 Nov 2013 18:56:11 +0000 (20:56 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Nov 2013 16:08:04 +0000 (17:08 +0100)
commita5666824ce79f4e63e017c25f6e1d9b6e6f267b2
treee99df9cb2045eba760369eed35ed86098bd310d8
parent13122e6ebf24d9f676d8a40edc2e9a265e89b628
ALSA: hda - hdmi: Skip out-of-range latency values in AMD ELD generator

The ATI/AMD video/audio latencies are specified in apparent HDMI VSDB
format. In this format values above 251 are not valid (or stream
component is not supported - 255), but no checking is performed since
this was not mentioned in the AMD HDA verbs specification.

Check that the latencies are valid before using them, and add a comment
describing the formats.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_eld.c
This page took 0.040403 seconds and 5 git commands to generate.