summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-03-27 14:14:06 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-03-27 14:14:06 +0000
commitbdc52f4649770e5c7d22e7be026fec9f5161c8c9 (patch)
tree7d93f69771e909b2ef3dedac61883bd3dd669354
parentee4674852fefafa00e19795e0376f95df068b442 (diff)
Code police
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9287 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/wm8758.c8
-rw-r--r--firmware/pcm_playback.c2
2 files changed, 4 insertions, 6 deletions
diff --git a/firmware/drivers/wm8758.c b/firmware/drivers/wm8758.c
index e99711066a..893b6e7c10 100644
--- a/firmware/drivers/wm8758.c
+++ b/firmware/drivers/wm8758.c
@@ -121,12 +121,12 @@ void wmcodec_enable_output(bool enable)
wm8758_write(RESET, 0x1ff); /*Reset*/
- wm8758_write(PWRMGMT1, 0x2b);
+ wm8758_write(PWRMGMT1, 0x2b);
wm8758_write(PWRMGMT2, 0x180);
- wm8758_write(PWRMGMT3, 0x6f);
+ wm8758_write(PWRMGMT3, 0x6f);
- wm8758_write(AINTFCE, 0x10);
- wm8758_write(CLKCTRL, 0x49);
+ wm8758_write(AINTFCE, 0x10);
+ wm8758_write(CLKCTRL, 0x49);
wm8758_write(OUTCTRL, 1);
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c
index 6ce5ed671c..0007a71f1f 100644
--- a/firmware/pcm_playback.c
+++ b/firmware/pcm_playback.c
@@ -454,8 +454,6 @@ void pcm_init(void)
/* Initialize default register values. */
wmcodec_init();
- /* The uda1380 needs a sleep(HZ) here - do we need one? */
-
/* Power on */
wmcodec_enable_output(true);