diff options
Diffstat (limited to 'firmware/drivers/tuner')
-rw-r--r-- | firmware/drivers/tuner/tea5767.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/tuner/tea5767.c b/firmware/drivers/tuner/tea5767.c index 143cb0576b..4d1e9d67af 100644 --- a/firmware/drivers/tuner/tea5767.c +++ b/firmware/drivers/tuner/tea5767.c | |||
@@ -64,7 +64,7 @@ int tea5767_set(int setting, int value) | |||
64 | write_bytes[3] |= (1<<4) | (1<<3) | (1<<1); | 64 | write_bytes[3] |= (1<<4) | (1<<3) | (1<<1); |
65 | #else | 65 | #else |
66 | /* soft mute, stereo noise cancelling */ | 66 | /* soft mute, stereo noise cancelling */ |
67 | write_bytes[3] |= (1<<3) | (1<<1); | 67 | write_bytes[3] |= (1<<3) | (1<<1); |
68 | #endif | 68 | #endif |
69 | /* sleep / standby mode */ | 69 | /* sleep / standby mode */ |
70 | tea5767_set_clear(3, (1<<6), value); | 70 | tea5767_set_clear(3, (1<<6), value); |
@@ -184,7 +184,7 @@ void tea5767_init(void) | |||
184 | tea5767_set(RADIO_MUTE, 1); | 184 | tea5767_set(RADIO_MUTE, 1); |
185 | int res = fmradio_3wire_read(buf); | 185 | int res = fmradio_3wire_read(buf); |
186 | res = ((buf[0] == 0) && (buf[1] == 0) && (buf[2] == 0) && (buf[3] == 0) | 186 | res = ((buf[0] == 0) && (buf[1] == 0) && (buf[2] == 0) && (buf[3] == 0) |
187 | && (buf[4] == 0) && (buf[5] == 0)) ? -1 : 1; | 187 | && (buf[4] == 0)) ? -1 : 1; |
188 | /* clear chipid byte - we don't use it here for detection, so it should be */ | 188 | /* clear chipid byte - we don't use it here for detection, so it should be */ |
189 | /* set to zero, to fulfill the condition in "else" block */ | 189 | /* set to zero, to fulfill the condition in "else" block */ |
190 | buf[3] = 0; | 190 | buf[3] = 0; |