From 5d908ab941e90291b5c31d990bdb8e87fa3f7146 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Fri, 24 Aug 2012 18:40:10 +0200
Subject: [PATCH] ALSA: hda - Make clear built-in driver optimization
Git-commit: 5d908ab941e90291b5c31d990bdb8e87fa3f7146
Patch-mainline: 3.7-rc1
References: FATE#313754

Use unsigned int to make clear that the codes required only for
modules will be reduced by the compiler optimization.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

---
 sound/pci/hda/hda_codec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/sound/pci/hda/hda_codec.c
+++ b/sound/pci/hda/hda_codec.c
@@ -807,7 +807,7 @@ find_codec_preset(struct hda_codec *code
 {
 	struct hda_codec_preset_list *tbl;
 	const struct hda_codec_preset *preset;
-	int mod_requested = 0;
+	unsigned int mod_requested = 0;
 
 	if (is_generic_config(codec))
 		return NULL; /* use the generic parser */
