aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_cirrus.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-08-13 08:45:23 +0200
committerTakashi Iwai <tiwai@suse.de>2010-08-13 08:45:23 +0200
commitbbbe33900d1f3c4402148ccb85234a741a6606a3 (patch)
tree294143653bfb5a045dea0396b8fee00ed7164b6e /sound/pci/hda/patch_cirrus.c
parent8a345a042ae75097fd493633633382644257cfc3 (diff)
downloadmrst-s0i3-test-bbbe33900d1f3c4402148ccb85234a741a6606a3.tar.gz
mrst-s0i3-test-bbbe33900d1f3c4402148ccb85234a741a6606a3.tar.xz
mrst-s0i3-test-bbbe33900d1f3c4402148ccb85234a741a6606a3.zip
ALSA: hda - Restrict PCM parameters per ELD information over HDMI
When a device is plugged over HDMI, it passes some information in ELD including the supported PCM parameters like formats, rates, channels. This patch adds the check to PCM open callback of HDMI streams so that only valid parameters the device supports are used. When no device is plugged, the parameters the codec supports are used; it's mostly all parameters the hardware can work. This is for apps that are started before device plugging and do probing (e.g. a sound daemon), so that at least, probing would work even before the device plugging. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_cirrus.c')
0 files changed, 0 insertions, 0 deletions