diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2008-11-12 03:57:32 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2008-11-12 03:57:32 +0000 |
commit | d42041043b95617244ffdb9150c5e2f2720a8a83 (patch) | |
tree | 71acbd2f8d8d51423d29ddbb2349ed23f77c3151 /firmware/drivers/audio/wm8751.c | |
parent | 68c686957b1b62671d727116e5c167cd8f080148 (diff) | |
download | rockbox-d42041043b95617244ffdb9150c5e2f2720a8a83.tar.gz rockbox-d42041043b95617244ffdb9150c5e2f2720a8a83.zip |
Add in the needed crt0.S code for the wakeup alarm also
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19094 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/audio/wm8751.c')
-rw-r--r-- | firmware/drivers/audio/wm8751.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/audio/wm8751.c b/firmware/drivers/audio/wm8751.c index 7145fe4ea4..439d50a5d0 100644 --- a/firmware/drivers/audio/wm8751.c +++ b/firmware/drivers/audio/wm8751.c | |||
@@ -219,6 +219,8 @@ void audiohw_close(void) | |||
219 | /* 2. Disable all output buffers. */ | 219 | /* 2. Disable all output buffers. */ |
220 | wmcodec_write(PWRMGMT2, 0x0); | 220 | wmcodec_write(PWRMGMT2, 0x0); |
221 | 221 | ||
222 | sleep(HZ); | ||
223 | |||
222 | /* 3. Switch off the power supplies. */ | 224 | /* 3. Switch off the power supplies. */ |
223 | wmcodec_write(PWRMGMT1, 0x0); | 225 | wmcodec_write(PWRMGMT1, 0x0); |
224 | } | 226 | } |