/* Note, if the speaker amp is muted, then we do not set a gain value as at-least one of the ICs that is fitted will try and power up even if the main control is set to off.  */
static int speaker_gain_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
/* Note, if the speaker amp is muted, then we do not set a gain value as at-least one of the ICs that is fitted will try and power up even if the main control is set to off.  */
static int speaker_gain_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)
{
	int value = ucontrol->value.integer.value[0];
	spk_gain = value;
	if (!spk_unmute)
		speaker_gain_set(value);
	return 0;
}