diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-10-22 00:31:04 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-10-22 00:34:45 +0200 |
commit | 7a65710836c67134f0d3169f768c9840e959c4c6 (patch) | |
tree | 6328e4e01a74515b6cc8c086306db8cf054c108c /firmware/drivers | |
parent | a0728672bf07f626049f8dc0007772794ae95ee1 (diff) |
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
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/tuner/tea5760uk.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |