summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-08-24 18:40:10 +0200
committerTakashi Iwai <tiwai@suse.de>2012-08-28 09:12:09 -0700
commit5d908ab941e90291b5c31d990bdb8e87fa3f7146 (patch)
tree18dc1d5f530bcd93a4304f03a1a78f271531575a /sound
parent8c3f1b1cbc32d1fa899e3bd9edf427f0f2e7a843 (diff)
downloadop-kernel-dev-5d908ab941e90291b5c31d990bdb8e87fa3f7146.zip
op-kernel-dev-5d908ab941e90291b5c31d990bdb8e87fa3f7146.tar.gz
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')
-rw-r--r--sound/pci/hda/hda_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_codec.c b/sound/pci/hda/hda_codec.c
index 4a2f35c..5f9da87 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)
{
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 */
OpenPOWER on IntegriCloud