summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio/wm8975.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/audio/wm8975.c')
-rw-r--r--firmware/drivers/audio/wm8975.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/drivers/audio/wm8975.c b/firmware/drivers/audio/wm8975.c
index 9adba907a7..5f90ff0a38 100644
--- a/firmware/drivers/audio/wm8975.c
+++ b/firmware/drivers/audio/wm8975.c
@@ -190,7 +190,7 @@ void audiohw_set_treble(int value)
190 } 190 }
191} 191}
192 192
193int audiohw_mute(int mute) 193void audiohw_mute(int mute)
194{ 194{
195 if (mute) 195 if (mute)
196 { 196 {
@@ -200,8 +200,6 @@ int audiohw_mute(int mute)
200 /* Set DACMU = 0 to soft-un-mute the audio DACs. */ 200 /* Set DACMU = 0 to soft-un-mute the audio DACs. */
201 wmcodec_write(DACCTRL, 0x0); 201 wmcodec_write(DACCTRL, 0x0);
202 } 202 }
203
204 return 0;
205} 203}
206 204
207/* Nice shutdown of WM8975 codec */ 205/* Nice shutdown of WM8975 codec */