summaryrefslogtreecommitdiffstats
path: root/firmware/drivers
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-06-19 03:51:57 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-06-19 03:51:57 +0000
commit9e3f473492353852d07ce359c10540c6f1fbd14a (patch)
treeba644a53940166ad7760478233254359cc116038 /firmware/drivers
parent23f6bc9b3d2a5a79fc8ab78b373e830cad514116 (diff)
downloadrockbox-9e3f473492353852d07ce359c10540c6f1fbd14a.tar.gz
rockbox-9e3f473492353852d07ce359c10540c6f1fbd14a.tar.bz2
rockbox-9e3f473492353852d07ce359c10540c6f1fbd14a.zip
FS#11417 by Joe Balough: fix audio/tuner on philips hdd6330
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26952 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/audio/wm8731.c2
-rw-r--r--firmware/drivers/tuner/tea5767.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/audio/wm8731.c b/firmware/drivers/audio/wm8731.c
index 41c6757525..71050454f3 100644
--- a/firmware/drivers/audio/wm8731.c
+++ b/firmware/drivers/audio/wm8731.c
@@ -201,7 +201,7 @@ void audiohw_postinit(void)
#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB)
/* We need to enable bit 4 of GPIOL for output for sound on H10 */
GPIO_SET_BITWISE(GPIOL_OUTPUT_VAL, 0x10);
-#elif defined(PHILIPS_HDD1630)
+#elif defined(PHILIPS_HDD1630) || defined(PHILIPS_HDD6330)
GPO32_ENABLE |= 0x2;
GPO32_VAL &= ~0x2;
#endif
diff --git a/firmware/drivers/tuner/tea5767.c b/firmware/drivers/tuner/tea5767.c
index 7c6d5b59ef..5888e00781 100644
--- a/firmware/drivers/tuner/tea5767.c
+++ b/firmware/drivers/tuner/tea5767.c
@@ -28,7 +28,7 @@
#include "fmradio.h"
#include "fmradio_i2c.h" /* physical interface driver */
-#if defined(PHILIPS_HDD1630) || defined(ONDA_VX747) || defined(ONDA_VX777)
+#if defined(PHILIPS_HDD1630) || defined(ONDA_VX747) || defined(ONDA_VX777) || defined(PHILIPS_HDD6330)
#define I2C_ADR 0x60
#else
#define I2C_ADR 0xC0