From 7a65710836c67134f0d3169f768c9840e959c4c6 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 22 Oct 2013 00:31:04 +0200 Subject: [PATCH] tea5760uk: use correct i2c address on the Creative Actually 0x20 is the right address, the 0x22 applies to the meizu which probably use a Chinese clone with a non-spec compliant address. Change-Id: I65b9ab6477c07a2293226536db3e696d34d3bc2c --- firmware/drivers/tuner/tea5760uk.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/drivers/tuner/tea5760uk.c b/firmware/drivers/tuner/tea5760uk.c index 28194b13d1..d74aa18a00 100644 --- a/firmware/drivers/tuner/tea5760uk.c +++ b/firmware/drivers/tuner/tea5760uk.c @@ -29,7 +29,11 @@ #include "fmradio.h" #include "fmradio_i2c.h" /* physical interface driver */ +#if defined(CREATIVE_ZENMOZAIC) || defined(CREATIVE_ZEN) || defined(CREATIVE_ZENXFI) +#define I2C_ADR 0x20 +#else #define I2C_ADR 0x22 +#endif /* define RSSI range */ #define RSSI_MIN 4