diff options
author | Anssi Hannula <[email protected]> | 2010-12-07 18:41:35 +0200 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2010-12-07 20:12:58 +0100 |
commit | 4b0dbdb17f846a8887e5f7fbeea2deb0703236bd (patch) | |
tree | d95f36978e3dbb762c05ef4335327e45005418b5 /tools/perf/util/trace-event-scripting.c | |
parent | dd5a089edfa51a74692604b4b427953d8e16bc35 (diff) |
ALSA: hda - Do not wrongly restrict min_channels based on ELD
Commit bbbe33900d1f3c added functionality to restrict PCM parameters
based on ELD info (derived from EDID data) of the audio sink.
However, it wrongly assumes that the bits 0-2 of the first byte of
CEA Short Audio Descriptors mean a supported number of channels. In
reality, they mean the maximum number of channels (as per CEA-861-D
7.5.2). This means that the channel count can only be used to restrict
max_channels, not min_channels.
Restricting min_channels causes us to deny opening the device in stereo
mode if the sink only has SADs that declare larger numbers of channels
(like Primare SP32 AV Processor does).
Fix that by not restricting min_channels based on ELD information.
Signed-off-by: Anssi Hannula <[email protected]>
Reported-by: Jean-Yves Avenard <[email protected]>
Tested-by: Jean-Yves Avenard <[email protected]>
Cc: [email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions