aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-rw-r--r--sound/ppc/toonie.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/ppc/toonie.c b/sound/ppc/toonie.c
index 210be20dc27e..4e595172e423 100644
--- a/sound/ppc/toonie.c
+++ b/sound/ppc/toonie.c
@@ -117,7 +117,7 @@ static int toonie_get_mute_switch(struct snd_kcontrol *kcontrol,
117 gp = &mix->amp_mute_gpio; 117 gp = &mix->amp_mute_gpio;
118 break; 118 break;
119 default: 119 default:
120 return -EINVAL;; 120 return -EINVAL;
121 } 121 }
122 ucontrol->value.integer.value[0] = !check_audio_gpio(gp); 122 ucontrol->value.integer.value[0] = !check_audio_gpio(gp);
123 return 0; 123 return 0;
@@ -145,7 +145,7 @@ static int toonie_put_mute_switch(struct snd_kcontrol *kcontrol,
145 gp = &mix->amp_mute_gpio; 145 gp = &mix->amp_mute_gpio;
146 break; 146 break;
147 default: 147 default:
148 return -EINVAL;; 148 return -EINVAL;
149 } 149 }
150 val = ! check_audio_gpio(gp); 150 val = ! check_audio_gpio(gp);
151 if (val != ucontrol->value.integer.value[0]) { 151 if (val != ucontrol->value.integer.value[0]) {