]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: hda - minor HDMI code cleanups
authorWu Fengguang <wfg@linux.intel.com>
Sat, 22 Nov 2008 01:40:51 +0000 (09:40 +0800)
committerTakashi Iwai <tiwai@suse.de>
Sat, 22 Nov 2008 10:14:18 +0000 (11:14 +0100)
Some minor code cleanups.

Signed-off-by: Wu Fengguang <wfg@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_intelhdmi.c

index 58aaf06589a861f7f0b560242e9b9e7b86cb3e12..e10fa1e3dc9b574d408e89e76bfc2efbd841715e 100644 (file)
@@ -431,7 +431,7 @@ static int hdmi_setup_channel_allocation(struct hda_codec *codec,
         * expand ELD's speaker allocation mask
         *
         * ELD tells the speaker mask in a compact(paired) form,
-        * expand ELD's notions to match the ones used by audio infoframe.
+        * expand ELD's notions to match the ones used by Audio InfoFrame.
         */
        for (i = 0; i < ARRAY_SIZE(eld_speaker_allocation_bits); i++) {
                if (eld->spk_alloc & (1 << i))
@@ -592,8 +592,8 @@ static struct hda_pcm_stream intel_hdmi_pcm_playback = {
        .channels_max = 8,
        .nid = CVT_NID, /* NID to query formats and rates and setup streams */
        .ops = {
-               .open = intel_hdmi_playback_pcm_open,
-               .close = intel_hdmi_playback_pcm_close,
+               .open    = intel_hdmi_playback_pcm_open,
+               .close   = intel_hdmi_playback_pcm_close,
                .prepare = intel_hdmi_playback_pcm_prepare
        },
 };