hda: PVS1619-21: "unsigned < 0" comparisons

* Probably harmless, the overflow on the other side was already checked.
This commit is contained in:
Adrien Destugues 2015-10-25 10:58:32 +01:00
parent d500273dd1
commit 9e80618520

View File

@ -618,7 +618,7 @@ get_control_gain_mute(hda_audio_group* audioGroup,
static status_t
get_mix(hda_audio_group* audioGroup, multi_mix_value_info * mmvi)
{
uint32 id;
int32 id;
hda_multi_mixer_control *control = NULL;
for (int32 i = 0; i < mmvi->item_count; i++) {
id = mmvi->values[i].id - MULTI_CONTROL_FIRSTID;
@ -686,7 +686,7 @@ get_mix(hda_audio_group* audioGroup, multi_mix_value_info * mmvi)
static status_t
set_mix(hda_audio_group* audioGroup, multi_mix_value_info * mmvi)
{
uint32 id;
int32 id;
hda_multi_mixer_control *control = NULL;
for (int32 i = 0; i < mmvi->item_count; i++) {
id = mmvi->values[i].id - MULTI_CONTROL_FIRSTID;