diff options
-rw-r--r-- | sound/pci/hda/patch_intelhdmi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_intelhdmi.c b/sound/pci/hda/patch_intelhdmi.c index 8059102dd86..3beaf9c1090 100644 --- a/sound/pci/hda/patch_intelhdmi.c +++ b/sound/pci/hda/patch_intelhdmi.c | |||
@@ -281,6 +281,7 @@ static int hdmi_get_eld_size(struct hda_codec *codec, hda_nid_t nid) | |||
281 | AC_DIPSIZE_ELD_BUF); | 281 | AC_DIPSIZE_ELD_BUF); |
282 | } | 282 | } |
283 | 283 | ||
284 | #ifdef BE_PARANOID | ||
284 | static void hdmi_get_dip_index(struct hda_codec *codec, hda_nid_t nid, | 285 | static void hdmi_get_dip_index(struct hda_codec *codec, hda_nid_t nid, |
285 | int *packet_index, int *byte_index) | 286 | int *packet_index, int *byte_index) |
286 | { | 287 | { |
@@ -291,6 +292,7 @@ static void hdmi_get_dip_index(struct hda_codec *codec, hda_nid_t nid, | |||
291 | *packet_index = val >> 5; | 292 | *packet_index = val >> 5; |
292 | *byte_index = val & 0x1f; | 293 | *byte_index = val & 0x1f; |
293 | } | 294 | } |
295 | #endif | ||
294 | 296 | ||
295 | static void hdmi_set_dip_index(struct hda_codec *codec, hda_nid_t nid, | 297 | static void hdmi_set_dip_index(struct hda_codec *codec, hda_nid_t nid, |
296 | int packet_index, int byte_index) | 298 | int packet_index, int byte_index) |