Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5d908ab9 authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 8c3f1b1c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 */