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
This commit is contained in:
Rafaël Carré 2010-06-19 03:51:57 +00:00
parent 23f6bc9b3d
commit 9e3f473492
4 changed files with 4 additions and 3 deletions

View file

@ -548,6 +548,7 @@ Aaron Rothbaum
Nejc Lotric Nejc Lotric
Hinrik Örn Sigurðsson Hinrik Örn Sigurðsson
Stephen Carroll Stephen Carroll
Joe Balough
The libmad team The libmad team
The wavpack team The wavpack team

View file

@ -201,7 +201,7 @@ void audiohw_postinit(void)
#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) #if defined(IRIVER_H10) || defined(IRIVER_H10_5GB)
/* We need to enable bit 4 of GPIOL for output for sound on H10 */ /* We need to enable bit 4 of GPIOL for output for sound on H10 */
GPIO_SET_BITWISE(GPIOL_OUTPUT_VAL, 0x10); GPIO_SET_BITWISE(GPIOL_OUTPUT_VAL, 0x10);
#elif defined(PHILIPS_HDD1630) #elif defined(PHILIPS_HDD1630) || defined(PHILIPS_HDD6330)
GPO32_ENABLE |= 0x2; GPO32_ENABLE |= 0x2;
GPO32_VAL &= ~0x2; GPO32_VAL &= ~0x2;
#endif #endif

View file

@ -28,7 +28,7 @@
#include "fmradio.h" #include "fmradio.h"
#include "fmradio_i2c.h" /* physical interface driver */ #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 #define I2C_ADR 0x60
#else #else
#define I2C_ADR 0xC0 #define I2C_ADR 0xC0

View file

@ -33,7 +33,7 @@
#include "wmcodec.h" #include "wmcodec.h"
#if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) || \ #if defined(IRIVER_H10) || defined(IRIVER_H10_5GB) || \
defined(MROBE_100) || defined(PHILIPS_HDD1630) || \ defined(MROBE_100) || defined(PHILIPS_HDD1630) || defined(PHILIPS_HDD6330) || \
defined(PBELL_VIBE500) defined(PBELL_VIBE500)
/* The H10's audio codec uses an I2C address of 0x1b */ /* The H10's audio codec uses an I2C address of 0x1b */
#define I2C_AUDIO_ADDRESS 0x1b #define I2C_AUDIO_ADDRESS 0x1b