diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-08-24 12:40:10 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-08-28 12:12:09 -0400 |
commit | 5d908ab941e90291b5c31d990bdb8e87fa3f7146 (patch) | |
tree | 18dc1d5f530bcd93a4304f03a1a78f271531575a /sound/pci/hda | |
parent | 8c3f1b1cbc32d1fa899e3bd9edf427f0f2e7a843 (diff) |
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>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/hda_codec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c index 4a2f35ccbf05..5f9da87d8762 100644 --- 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) | |||
808 | { | 808 | { |
809 | struct hda_codec_preset_list *tbl; | 809 | struct hda_codec_preset_list *tbl; |
810 | const struct hda_codec_preset *preset; | 810 | const struct hda_codec_preset *preset; |
811 | int mod_requested = 0; | 811 | unsigned int mod_requested = 0; |
812 | 812 | ||
813 | if (is_generic_config(codec)) | 813 | if (is_generic_config(codec)) |
814 | return NULL; /* use the generic parser */ | 814 | return NULL; /* use the generic parser */ |