summaryrefslogtreecommitdiff
path: root/firmware/drivers/wm8975.c
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-12-18 02:18:56 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-12-18 02:18:56 +0000
commitca7a264a8231dc872e8d5a836c80df67aaedd52d (patch)
tree402037dfcdef2952c31e52b6e7a0ab63bed83f82 /firmware/drivers/wm8975.c
parentdecef18a943a4b36cdb4fe8c8adf15b8cf6cb757 (diff)
downloadrockbox-ca7a264a8231dc872e8d5a836c80df67aaedd52d.tar.gz
rockbox-ca7a264a8231dc872e8d5a836c80df67aaedd52d.zip
Fix compile errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11796 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/wm8975.c')
-rw-r--r--firmware/drivers/wm8975.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/wm8975.c b/firmware/drivers/wm8975.c
index 011d771a13..12aa46821a 100644
--- a/firmware/drivers/wm8975.c
+++ b/firmware/drivers/wm8975.c
@@ -256,7 +256,7 @@ void audiohw_enable_recording(bool source_mic)
256 wmcodec_write(0x07, 0x42); 256 wmcodec_write(0x07, 0x42);
257 257
258 /* The iPod can handle multiple frequencies, but fix at 44.1KHz for now */ 258 /* The iPod can handle multiple frequencies, but fix at 44.1KHz for now */
259 wmcodec_set_sample_rate(WM8975_44100HZ); 259 audiohw_set_sample_rate(WM8975_44100HZ);
260 260
261 /* unmute inputs */ 261 /* unmute inputs */
262 wmcodec_write(0x00, 0x17); /* LINVOL (def 0dB) */ 262 wmcodec_write(0x00, 0x17); /* LINVOL (def 0dB) */