aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWu Fengguang <wfg@linux.intel.com>2008-11-21 20:40:51 -0500
committerTakashi Iwai <tiwai@suse.de>2008-11-22 05:14:18 -0500
commitb83923a3931a43df7397a7491f0c9d9b9d46624a (patch)
tree1e8dc6ee52535d3fb5186702efe1bbc73d4a5bd9
parentb20222667d371bb9ddeadd47d18072efcab3f6d2 (diff)
ALSA: hda - minor HDMI code cleanups
Some minor code cleanups. Signed-off-by: Wu Fengguang <wfg@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/hda/patch_intelhdmi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/pci/hda/patch_intelhdmi.c b/sound/pci/hda/patch_intelhdmi.c
index 58aaf06589a..e10fa1e3dc9 100644
--- a/sound/pci/hda/patch_intelhdmi.c
+++ b/sound/pci/hda/patch_intelhdmi.c
@@ -431,7 +431,7 @@ static int hdmi_setup_channel_allocation(struct hda_codec *codec,
431 * expand ELD's speaker allocation mask 431 * expand ELD's speaker allocation mask
432 * 432 *
433 * ELD tells the speaker mask in a compact(paired) form, 433 * ELD tells the speaker mask in a compact(paired) form,
434 * expand ELD's notions to match the ones used by audio infoframe. 434 * expand ELD's notions to match the ones used by Audio InfoFrame.
435 */ 435 */
436 for (i = 0; i < ARRAY_SIZE(eld_speaker_allocation_bits); i++) { 436 for (i = 0; i < ARRAY_SIZE(eld_speaker_allocation_bits); i++) {
437 if (eld->spk_alloc & (1 << i)) 437 if (eld->spk_alloc & (1 << i))
@@ -592,8 +592,8 @@ static struct hda_pcm_stream intel_hdmi_pcm_playback = {
592 .channels_max = 8, 592 .channels_max = 8,
593 .nid = CVT_NID, /* NID to query formats and rates and setup streams */ 593 .nid = CVT_NID, /* NID to query formats and rates and setup streams */
594 .ops = { 594 .ops = {
595 .open = intel_hdmi_playback_pcm_open, 595 .open = intel_hdmi_playback_pcm_open,
596 .close = intel_hdmi_playback_pcm_close, 596 .close = intel_hdmi_playback_pcm_close,
597 .prepare = intel_hdmi_playback_pcm_prepare 597 .prepare = intel_hdmi_playback_pcm_prepare
598 }, 598 },
599}; 599};