projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c3f1b1
)
ALSA: hda - Make clear built-in driver optimization
author
Takashi Iwai
<tiwai@suse.de>
Fri, 24 Aug 2012 16:40:10 +0000
(18:40 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 28 Aug 2012 16:12:09 +0000
(09:12 -0700)
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
patch
|
blob
|
history
diff --git
a/sound/pci/hda/hda_codec.c
b/sound/pci/hda/hda_codec.c
index 4a2f35ccbf05839d141b1c6f751119e718028691..5f9da87d8762c8b9f3b5663819b1c742ca819951 100644
(file)
--- a/
sound/pci/hda/hda_codec.c
+++ b/
sound/pci/hda/hda_codec.c
@@
-808,7
+808,7
@@
find_codec_preset(struct hda_codec *codec)
{
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 */