summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorRobert Kukla <roolku@rockbox.org>2008-01-20 12:59:23 +0000
committerRobert Kukla <roolku@rockbox.org>2008-01-20 12:59:23 +0000
commit47cfed1f1bdec15ee8e771c050c9e6b9fa12d0bf (patch)
tree70a1bc0d05e37449c52ffa9e6369404a88095bd3 /firmware/drivers
parent9e93b9e30a524f7ca787b1198d572a9f36da080e (diff)
downloadrockbox-47cfed1f1bdec15ee8e771c050c9e6b9fa12d0bf.zip
rockbox-47cfed1f1bdec15ee8e771c050c9e6b9fa12d0bf.tar.gz
rockbox-47cfed1f1bdec15ee8e771c050c9e6b9fa12d0bf.tar.bz2
rockbox-47cfed1f1bdec15ee8e771c050c9e6b9fa12d0bf.tar.xz
audio on the m:robe 100
- using the existing wm8751 driver (from gigabeat port) integrated into the portal player environment - only 44.1kHz at the moment - for some reason the output is very quiet - due to the lack of usable buttons the easiest (?) way to start an audio file is to copy the .playlist_control, config.cfg and nvram.bin files from another target, where auto resume is enabled. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16117 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/audio/wm8751.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/audio/wm8751.c b/firmware/drivers/audio/wm8751.c
index 78e1298..c4e1a62 100644
--- a/firmware/drivers/audio/wm8751.c
+++ b/firmware/drivers/audio/wm8751.c
@@ -100,6 +100,10 @@ static int adaptivebass2hw(int value)
/* Reset and power up the WM8751 */
void audiohw_preinit(void)
{
+#ifdef CPU_PP502x
+ i2s_reset();
+#endif
+
/*
* 1. Switch on power supplies.
* By default the WM8751 is in Standby Mode, the DAC is