]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 7 Jan 2011 21:58:13 +0000 (13:58 -0800)
commit3ffbc9f5f876fe39aa2ec33ca057298462f397ed
tree4dc00a97ee9aa43c5e2cb8891c71ee3da4c09fe5
parent3b632852ce576c23709add22e753c849a786b0ed
ALSA: hda - Always allow basic audio irrespective of ELD info

commit 3dc86429032910bdf762adeb2969112bb303924c upstream.

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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/hda/hda_eld.c