浏览代码

ALSA: hda - Make clear built-in driver optimization

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>
Takashi Iwai 13 年之前
父节点
当前提交
5d908ab941
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sound/pci/hda/hda_codec.c

+ 1 - 1
sound/pci/hda/hda_codec.c

@@ -808,7 +808,7 @@ find_codec_preset(struct hda_codec *codec)
 {
 {
 	struct hda_codec_preset_list *tbl;
 	struct hda_codec_preset_list *tbl;
 	const struct hda_codec_preset *preset;
 	const struct hda_codec_preset *preset;
-	int mod_requested = 0;
+	unsigned int mod_requested = 0;
 
 
 	if (is_generic_config(codec))
 	if (is_generic_config(codec))
 		return NULL; /* use the generic parser */
 		return NULL; /* use the generic parser */