ALSA: hda: hdmi_eld_update_pcm_info: update a stream in place
authorStephen Warren <swarren@nvidia.com>
Wed, 1 Jun 2011 17:14:20 +0000 (11:14 -0600)
committerTakashi Iwai <tiwai@suse.de>
Mon, 6 Jun 2011 10:58:09 +0000 (12:58 +0200)
commit2def8172c6611f2577260287ebf5dd3b63f7ef55
tree1f45f1e5a5051a06ac7988de36227df581403c7d
parent3aaf898025b1f75f30457e00e890c9f7c43567ab
ALSA: hda: hdmi_eld_update_pcm_info: update a stream in place

A future change won't store an entire hda_pcm_stream just to represent
the capabilities of a codec; a custom data-structure will be used. To
ease that transition, modify hdmi_eld_update_pcm_info to expect the
hda_pcm_stream to be pre-initialized with the codec's capabilities, and
to update those capabilities in-place based on the ELD.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_eld.c
sound/pci/hda/hda_local.h
sound/pci/hda/patch_hdmi.c