Skip to content

Commit

Permalink
[ALSA] ice1724 - Fix return codes in some pointis callbacks
Browse files Browse the repository at this point in the history
Fixed the return codes (1 for changed values) in put callbacks of
pontis.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Apr 24, 2008
1 parent 5a220c8 commit 43337ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/pci/ice1712/pontis.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ static int wm_adc_mux_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_val
wm_put(ice, WM_ADC_MUX, nval);
}
mutex_unlock(&ice->gpio_mutex);
return 0;
return change;
}

/*
Expand Down Expand Up @@ -450,7 +450,7 @@ static int cs_source_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_valu
change = 1;
}
mutex_unlock(&ice->gpio_mutex);
return 0;
return change;
}


Expand Down

0 comments on commit 43337ac

Please sign in to comment.