X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=sound%2Fusb%2Fmixer.c;h=44b0ba4feab3bd1b43100feb457e82e290ea26dc;hb=e0f17c75d9352c38926da1b4d8dbefc2d9942006;hp=95558ef4a7a09c72ed52c4706348d765a40c4314;hpb=b14662cae0f765355d43357180f4c34916610269;p=~andy%2Flinux diff --git a/sound/usb/mixer.c b/sound/usb/mixer.c index 95558ef4a7a..44b0ba4feab 100644 --- a/sound/usb/mixer.c +++ b/sound/usb/mixer.c @@ -1151,14 +1151,14 @@ static void check_no_speaker_on_headset(struct snd_kcontrol *kctl, const char *names_to_check[] = { "Headset", "headset", "Headphone", "headphone", NULL}; const char **s; - bool found = 0; + bool found = false; if (strcmp("Speaker", kctl->id.name)) return; for (s = names_to_check; *s; s++) if (strstr(card->shortname, *s)) { - found = 1; + found = true; break; }