diff options
Diffstat (limited to 'firmware/drivers/tuner/tea5767.c')
-rw-r--r-- | firmware/drivers/tuner/tea5767.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/firmware/drivers/tuner/tea5767.c b/firmware/drivers/tuner/tea5767.c index 2d18a0fdf7..09503455f3 100644 --- a/firmware/drivers/tuner/tea5767.c +++ b/firmware/drivers/tuner/tea5767.c | |||
@@ -28,7 +28,12 @@ | |||
28 | #include "fmradio.h" | 28 | #include "fmradio.h" |
29 | #include "fmradio_i2c.h" /* physical interface driver */ | 29 | #include "fmradio_i2c.h" /* physical interface driver */ |
30 | 30 | ||
31 | #if defined(PHILIPS_HDD1630) | ||
32 | #define I2C_ADR 0x60 | ||
33 | #else | ||
31 | #define I2C_ADR 0xC0 | 34 | #define I2C_ADR 0xC0 |
35 | #endif | ||
36 | |||
32 | static unsigned char write_bytes[5] = { 0x00, 0x00, 0x00, 0x00, 0x00 }; | 37 | static unsigned char write_bytes[5] = { 0x00, 0x00, 0x00, 0x00, 0x00 }; |
33 | 38 | ||
34 | static void tea5767_set_clear(int byte, unsigned char bits, int set) | 39 | static void tea5767_set_clear(int byte, unsigned char bits, int set) |
@@ -87,7 +92,7 @@ int tea5767_set(int setting, int value) | |||
87 | tea5767_set_clear(4, (1<<6), rd->deemphasis); | 92 | tea5767_set_clear(4, (1<<6), rd->deemphasis); |
88 | tea5767_set_clear(3, (1<<5), rd->band); | 93 | tea5767_set_clear(3, (1<<5), rd->band); |
89 | break; | 94 | break; |
90 | } | 95 | } |
91 | case RADIO_FORCE_MONO: | 96 | case RADIO_FORCE_MONO: |
92 | tea5767_set_clear(2, 0x08, value); | 97 | tea5767_set_clear(2, 0x08, value); |
93 | break; | 98 | break; |