ALSA: hda - Always allow basic audio irrespective of ELD info
authorAnssi Hannula <anssi.hannula@iki.fi>
Tue, 7 Dec 2010 18:56:19 +0000 (20:56 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 Dec 2010 19:13:22 +0000 (20:13 +0100)
commit3dc86429032910bdf762adeb2969112bb303924c
treec53f59b064177380d000acfa4b99a28069b27673
parent4b0dbdb17f846a8887e5f7fbeea2deb0703236bd
ALSA: hda - Always allow basic audio irrespective of ELD info

Commit bbbe33900d1f3c added functionality to restrict PCM parameters
based on ELD info (derived from EDID data) of the audio sink.

However, according to CEA-861-D no SAD is needed for basic audio
(32/44.1/48kHz stereo 16-bit audio), which is instead indicated with a
basic audio flag in the CEA EDID Extension.

The flag is not present in ELD. However, as all audio capable sinks are
required to support basic audio, we can assume it to be always
available.

Fix allowed audio formats with sinks that have SADs (Short Audio
Descriptors) which do not completely overlap with the basic audio
formats (there are no reports of affected devices so far) by always
assuming that basic audio is supported.

Reported-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Cc: stable@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_eld.c