2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 07:34:06 +08:00

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>
This commit is contained in:
Takashi Iwai 2012-08-24 18:40:10 +02:00
parent 8c3f1b1cbc
commit 5d908ab941

View File

@ -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 */