diff options
author | Stephen Warren <swarren@nvidia.com> | 2011-06-01 11:14:20 -0600 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-06-06 12:58:09 +0200 |
commit | 2def8172c6611f2577260287ebf5dd3b63f7ef55 (patch) | |
tree | 1f45f1e5a5051a06ac7988de36227df581403c7d /sound/pci/hda/hda_local.h | |
parent | 3aaf898025b1f75f30457e00e890c9f7c43567ab (diff) | |
download | linux-stable-2def8172c6611f2577260287ebf5dd3b63f7ef55.tar.gz linux-stable-2def8172c6611f2577260287ebf5dd3b63f7ef55.tar.bz2 linux-stable-2def8172c6611f2577260287ebf5dd3b63f7ef55.zip |
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>
Diffstat (limited to 'sound/pci/hda/hda_local.h')
-rw-r--r-- | sound/pci/hda/hda_local.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h index 8b88c92826a1..b333bf46a19c 100644 --- a/sound/pci/hda/hda_local.h +++ b/sound/pci/hda/hda_local.h @@ -641,8 +641,8 @@ struct hdmi_eld { int snd_hdmi_get_eld_size(struct hda_codec *codec, hda_nid_t nid); int snd_hdmi_get_eld(struct hdmi_eld *, struct hda_codec *, hda_nid_t); void snd_hdmi_show_eld(struct hdmi_eld *eld); -void hdmi_eld_update_pcm_info(struct hdmi_eld *eld, struct hda_pcm_stream *pcm, - struct hda_pcm_stream *codec_pars); +void snd_hdmi_eld_update_pcm_info(struct hdmi_eld *eld, + struct hda_pcm_stream *hinfo); #ifdef CONFIG_PROC_FS int snd_hda_eld_proc_new(struct hda_codec *codec, struct hdmi_eld *eld, |