Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b83923a3 authored by Wu Fengguang's avatar Wu Fengguang Committed by Takashi Iwai
Browse files

ALSA: hda - minor HDMI code cleanups



Some minor code cleanups.

Signed-off-by: default avatarWu Fengguang <wfg@linux.intel.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent b2022266
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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))